Skip to content

Commit e5d6959

Browse files
authored
ci: Pin all gh actions to commit SHAs (#239)
1 parent ce0d997 commit e5d6959

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/label-enforcer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
pull-requests: write # for TimonVS/pr-labeler-action to add labels in PR
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: TimonVS/pr-labeler-action@v5
13+
- uses: TimonVS/pr-labeler-action@f9c084306ce8b3f488a8f3ee1ccedc6da131d1af # v5.0.0
1414
with:
1515
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/mergedtomain-workflow.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
pull-requests: write
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v6
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222

2323
- name: Extract build info
2424
id: extract_build_info
2525
run: |
2626
echo "commit_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
2727
2828
- name: Update Release Draft
29-
uses: release-drafter/release-drafter@v7
29+
uses: release-drafter/release-drafter@139054aeaa9adc52ab36ddf67437541f039b88e2 # v7.1.1
3030
with:
3131
disable-autolabeler: true
3232
commitish: main

.github/workflows/pr-workflow.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
timeout-minutes: 10 # Sets a timeout of 10 minutes for this job (default is 1 minute)
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v6
17+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818

19-
- uses: actions/setup-go@v6
19+
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
2020
with:
2121
go-version: '^1.25'
2222
cache: false
@@ -40,7 +40,7 @@ jobs:
4040
files=$(gofmt -l .) && echo $files && [ -z "$files" ]
4141
4242
- name: Golang CI Lint
43-
uses: golangci/golangci-lint-action@v9
43+
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
4444
with:
4545
version: v2.10.1 # Specify the golangci-lint version, so we are stable
4646

@@ -49,7 +49,7 @@ jobs:
4949
make gen
5050
5151
- name: Ensure that make gen did not result in changes
52-
uses: CatChen/check-git-status-action@v2
52+
uses: CatChen/check-git-status-action@cc5a79733c441f67cd0cd076de116cd2eebcebfe # v2.1.3
5353
with:
5454
fail-if-not-clean: true
5555

.github/workflows/release-workflow.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
id-token: write # needed for cosign keyless signing with OIDC
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v6
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222

2323
- name: Extract build info
2424
id: extract_build_info
@@ -27,10 +27,10 @@ jobs:
2727
echo "commit_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
2828
2929
- name: Install cosign
30-
uses: sigstore/cosign-installer@v4.1.0
30+
uses: sigstore/cosign-installer@ba7bc0a3fef59531c69a25acd34668d6d3fe6f22 # v4.1.0
3131

3232
- name: Login to registry.cloud.qdrant.io
33-
uses: docker/login-action@v4
33+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
3434
with:
3535
registry: registry.cloud.qdrant.io
3636
username: ${{ secrets.HARBOR_USERNAME }}
@@ -48,7 +48,7 @@ jobs:
4848
git push origin ${{ steps.extract_build_info.outputs.tag }}
4949
5050
- name: Publish Release Notes
51-
uses: release-drafter/release-drafter@v7
51+
uses: release-drafter/release-drafter@139054aeaa9adc52ab36ddf67437541f039b88e2 # v7.1.1
5252
with:
5353
disable-autolabeler: true
5454
commitish: ${{ github.ref }}

0 commit comments

Comments
 (0)