Skip to content

Commit 6426bcf

Browse files
authored
ci: pin gh actions versions (#1862)
1 parent a68d302 commit 6426bcf

4 files changed

Lines changed: 16 additions & 16 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
needs: pre-run
2626
if: "needs.pre-run.outputs.is-not-fork == 'true' && (github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, 'chore: version packages'))"
2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2929
with:
3030
fetch-depth: 0
31-
- uses: actions/setup-node@v4
31+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
3232
with:
3333
node-version: 24
3434
cache: npm
@@ -51,14 +51,14 @@ jobs:
5151
needs: pre-run
5252
if: "needs.pre-run.outputs.is-not-fork == 'true' && !contains(github.event.head_commit.message, 'chore: version packages')"
5353
steps:
54-
- uses: actions/checkout@v4
54+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5555
with:
5656
fetch-depth: 0
5757

5858
# pulls all tags (needed for lerna to correctly version)
5959
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
6060

61-
- uses: actions/setup-node@v4
61+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
6262
with:
6363
node-version: 24
6464
cache: npm

‎.github/workflows/pull-request.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
runs-on: ubuntu-latest
1616
needs: pre-run
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919
with:
2020
fetch-depth: 0
21-
- uses: wagoid/commitlint-github-action@v5
21+
- uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6.2.1
2222
with:
2323
configFile: .github/.husky/commitlint.json
2424

@@ -33,18 +33,18 @@ jobs:
3333
# needs: [pre-run, tests]
3434
# if: needs.pre-run.outputs.is-not-fork == 'true'
3535
# steps:
36-
# - uses: actions/checkout@v3
36+
# - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3737
# if: github.event_name == 'pull_request'
3838
# with:
3939
# ref: ${{ github.event.pull_request.head.ref }}
4040
# fetch-depth: 0
41-
# - uses: actions/checkout@v3
41+
# - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4242
# if: github.event_name == 'workflow_dispatch'
4343
# with:
4444
# fetch-depth: 0
45-
# - uses: actions/setup-node@v3
45+
# - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
4646
# with:
47-
# node-version: 20
47+
# node-version: 24
4848
# cache: npm
4949
# - run: npm install -g npm@latest && npm ci
5050
# - name: Set up npm auth token

‎.github/workflows/tests.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
tests:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
17-
- uses: actions/setup-node@v4
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
1818
with:
1919
node-version: 24
2020
cache: npm
@@ -43,6 +43,6 @@ jobs:
4343
run: npm run lerna run test --stream --parallel -- -- --coverage
4444

4545
- name: Upload test coverage
46-
uses: codecov/codecov-action@v4
46+
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2
4747
with:
4848
token: ${{ secrets.CODECOV_TOKEN }}

‎.github/workflows/version.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
needs: pre-run
2626
if: "needs.pre-run.outputs.is-not-fork == 'true' && !contains(github.event.head_commit.message, 'chore: version packages')"
2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2929
with:
3030
fetch-depth: 0
3131
ref: main
3232

33-
- uses: actions/setup-node@v3
33+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
3434
with:
35-
node-version: 20
35+
node-version: 24
3636
cache: npm
3737

3838
- run: npm install -g npm@latest

0 commit comments

Comments
 (0)