Skip to content

Commit fa6d183

Browse files
authored
ci(ci): pin actions to commit-hash (#262)
1 parent 41fdbd2 commit fa6d183

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,26 @@ jobs:
1515
test:
1616
runs-on: ubuntu-latest
1717

18+
permissions:
19+
contents: read
20+
1821
strategy:
1922
matrix:
2023
node-version: [22.x]
2124

2225
steps:
2326
- name: Checkout code
24-
uses: actions/checkout@v4
27+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2528
with:
2629
persist-credentials: false
2730

2831
- name: Install pnpm
29-
uses: pnpm/action-setup@v4
32+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
3033
with:
3134
version: 9.12.2
3235

3336
- name: Set up Node.js
34-
uses: actions/setup-node@v4
37+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3538
with:
3639
cache: "pnpm"
3740
check-latest: true

0 commit comments

Comments
 (0)