Skip to content

Commit 27ebe9b

Browse files
committed
fixed semgrep finding: changed tags to commit hashes
1 parent e54e85e commit 27ebe9b

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout code
22-
uses: actions/checkout@v7
22+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2323
with:
2424
fetch-depth: 0 # Gitleaks needs the full history to scan properly
2525

2626
- name: Run Gitleaks
27-
uses: gitleaks/gitleaks-action@v3
27+
uses: gitleaks/gitleaks-action@e0c47f4f8be36e29cdc102c57e68cb5cbf0e8d1e # v3.0.0
2828
env:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3030
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
@@ -38,10 +38,10 @@ jobs:
3838

3939
steps:
4040
- name: Checkout code
41-
uses: actions/checkout@v7
41+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4242

4343
- name: Install Go
44-
uses: actions/setup-go@v7
44+
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
4545
with:
4646
go-version: ${{ matrix.go-version }}
4747

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,28 @@ jobs:
2525
- name: Git Fetch
2626
run: git fetch --force --tags
2727
- name: Setup go
28-
uses: actions/setup-go@v7
28+
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
2929
with:
3030
go-version: stable
3131

3232
- uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2
3333
- uses: anchore/sbom-action/download-syft@e22c389904149dbc22b58101806040fa8d37a610 # v0.24.0
3434

3535
- name: Set Up Docker Buildx
36-
uses: docker/setup-buildx-action@v4
36+
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
3737

3838
- name: Set up Cosign
3939
uses: sigstore/cosign-installer@v4.1.2
4040

4141
- name: Login to Registry
42-
uses: docker/login-action@v4
42+
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
4343
with:
4444
registry: ${{ env.REGISTRY }}
4545
username: ${{ github.actor }}
4646
password: ${{ secrets.GITHUB_TOKEN }}
4747

4848
- name: Release with Goreleaser
49-
uses: goreleaser/goreleaser-action@v7
49+
uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7.2.3
5050
with:
5151
distribution: goreleaser
5252
version: latest

.github/workflows/semgrep.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
image: semgrep/semgrep:1.172.0@sha256:65dcd4408adda7c183a6b4550cb1e9b19f7f627a6fbb7e0559bd466bedc44d7b
1515
steps:
1616
# Fetch project source
17-
- uses: actions/checkout@v7
17+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1818

1919
- name: Run Semgrep
2020
run: |

0 commit comments

Comments
 (0)