Skip to content

Commit e145127

Browse files
committed
ci: Pin all gh actions to commit SHAs
1 parent b52f1fa commit e145127

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/label-enforcer.yaml

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

.github/workflows/pr-workflow.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ 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
with:
1919
persist-credentials: false
2020

21-
- uses: actions/setup-go@v6
21+
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
2222
with:
2323
go-version: "^1.25"
2424
cache: false
@@ -28,7 +28,7 @@ jobs:
2828
files=$(gofmt -l .) && echo $files && [ -z "$files" ]
2929
3030
- name: Golang CI Lint
31-
uses: golangci/golangci-lint-action@v9
31+
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
3232
with:
3333
version: v2.7.2
3434

@@ -37,11 +37,11 @@ jobs:
3737
runs-on: ubuntu-latest
3838
steps:
3939
- name: Checkout
40-
uses: actions/checkout@v6
40+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4141
with:
4242
persist-credentials: false
4343

44-
- uses: actions/setup-go@v6
44+
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
4545
with:
4646
go-version: "^1.25"
4747

0 commit comments

Comments
 (0)