Skip to content

Commit 394a381

Browse files
committed
chore(workflow): pin sha & update actions
1 parent 8f43d12 commit 394a381

2 files changed

Lines changed: 17 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ jobs:
4444
os: [ubuntu-latest, macos-15]
4545

4646
steps:
47-
- uses: actions/checkout@v6
47+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
48+
with:
49+
persist-credentials: false
50+
fetch-depth: 1
4851

49-
- name: Use Node.js ${{ matrix.node.version }}
50-
uses: actions/setup-node@v6
52+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
5153
with:
5254
node-version: ${{ matrix.node.version }}
5355

@@ -56,7 +58,7 @@ jobs:
5658
node --version
5759
npm --version
5860
59-
- uses: github/codeql-action/init@v4
61+
- uses: github/codeql-action/init@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
6062
with:
6163
languages: javascript
6264
queries: security-and-quality
@@ -70,7 +72,7 @@ jobs:
7072
env:
7173
CI: true
7274

73-
- uses: github/codeql-action/analyze@v4
75+
- uses: github/codeql-action/analyze@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
7476

7577
# v4.6.0
7678
- uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238

.github/workflows/release-audit.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,25 @@ jobs:
3434
runs-on: ubuntu-latest
3535
steps:
3636
# Checkout project
37-
- uses: actions/checkout@v6
37+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
38+
with:
39+
persist-credentials: false
40+
fetch-depth: 1
3841

39-
# Check license headers (v2.0.0)
40-
- uses: erisu/apache-rat-action@46fb01ce7d8f76bdcd7ab10e7af46e1ea95ca01c
42+
# Check license headers (v3.0.0)
43+
- uses: erisu/apache-rat-action@30c94d10ed21e6f6fd5590dc5c158f58cae7a0dd
4144

4245
# Setup environment with node
43-
- uses: actions/setup-node@v6
46+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
4447
with:
4548
node-version: 24
4649

4750
# Install node packages
4851
- name: npm install packages
4952
run: npm ci
5053

51-
# Check node package licenses (v2.0.1)
52-
- uses: erisu/license-checker-action@99cffa11264fe545fd0baa6c13bca5a00ae608f2
54+
# Check node package licenses (v2.1.0)
55+
- uses: erisu/license-checker-action@04511f4c052b5773f11e1c65b42cda88235c62ae
5356
with:
5457
license-config: 'licence_checker.yml'
55-
include-asf-category-a: true
58+
include-asf-category-a: true

0 commit comments

Comments
 (0)