Skip to content

Commit dcba053

Browse files
committed
Pin GitHub Actions to SHA hashes
- autopublish.yml: actions/create-github-app-token@v2 -> fee1f7d63c2ff003460e3d139729b119787bc349 - autopublish.yml: actions/checkout@v5 -> 93cb6efe18208431cddfb8368fd83d5badbf9bfd - autopublish.yml: phips28/gh-action-bump-version@master -> 215e27a882516826c59df7f09da8c67d5f375cbd - autopublish.yml: actions/setup-node@v6 -> 53b83947a5a98c8d113130e565377fae1a50d02f - ci.yml: actions/checkout@v5 -> 93cb6efe18208431cddfb8368fd83d5badbf9bfd - ci.yml: actions/setup-node@v6 -> 53b83947a5a98c8d113130e565377fae1a50d02f - ci.yml: actions/checkout@v5 -> 93cb6efe18208431cddfb8368fd83d5badbf9bfd - ci.yml: actions/setup-node@v6 -> 53b83947a5a98c8d113130e565377fae1a50d02f - ci.yml: actions/github-script@v7 -> f28e40c7f34bde8b3046d885e986cb6290c5673b - ci.yml: codecov/codecov-action@v4 -> b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 - ci.yml: actions/upload-artifact@v5 -> 330a01c490aca151604b8cf639adc76d48f6c5d4 - ci.yml: actions/checkout@v5 -> 93cb6efe18208431cddfb8368fd83d5badbf9bfd - ci.yml: actions/setup-node@v6 -> 53b83947a5a98c8d113130e565377fae1a50d02f
1 parent b8f1cc5 commit dcba053

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/autopublish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ jobs:
1414
steps:
1515
- name: "Generate GitHub App token"
1616
id: app-token
17-
uses: "actions/create-github-app-token@v2"
17+
uses: "actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349" # v2
1818
with:
1919
app-id: ${{ secrets.GH_APP_ID }}
2020
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
2121
- name: "Checkout source code"
22-
uses: "actions/checkout@v5"
22+
uses: "actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd" # v5
2323
with:
2424
token: ${{ steps.app-token.outputs.token }}
2525
- name: "Automated Release"
26-
uses: "phips28/gh-action-bump-version@master"
26+
uses: "phips28/gh-action-bump-version@215e27a882516826c59df7f09da8c67d5f375cbd" # master
2727
with:
2828
commit-message: 'chore: bump version to {{version}}'
2929
env:
3030
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
31-
- uses: actions/setup-node@v6
31+
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
3232
with:
3333
node-version: '18'
3434
registry-url: 'https://registry.npmjs.org'

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
name: Lint
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v5
13+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
1414

15-
- uses: actions/setup-node@v6
15+
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
1616
with:
1717
node-version: 24
1818
cache: 'npm'
@@ -27,9 +27,9 @@ jobs:
2727
name: Test
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: actions/checkout@v5
30+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
3131

32-
- uses: actions/setup-node@v6
32+
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
3333
with:
3434
node-version: 24
3535
cache: 'npm'
@@ -58,7 +58,7 @@ jobs:
5858
5959
- name: Create test results check
6060
if: always() && github.event_name == 'pull_request'
61-
uses: actions/github-script@v7
61+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
6262
with:
6363
script: |
6464
const createTestCheck = require('./.github/workflows/scripts/create-test-check.js');
@@ -71,7 +71,7 @@ jobs:
7171
});
7272
7373
- name: Upload coverage to Codecov
74-
uses: codecov/codecov-action@v4
74+
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
7575
with:
7676
token: ${{ secrets.CODECOV_TOKEN }}
7777
directory: ./coverage
@@ -80,7 +80,7 @@ jobs:
8080

8181
- name: Upload coverage report as artifact
8282
if: always()
83-
uses: actions/upload-artifact@v5
83+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
8484
with:
8585
name: coverage-report
8686
path: coverage/
@@ -90,9 +90,9 @@ jobs:
9090
name: Build
9191
runs-on: ubuntu-latest
9292
steps:
93-
- uses: actions/checkout@v5
93+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
9494

95-
- uses: actions/setup-node@v6
95+
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
9696
with:
9797
node-version: 24
9898
cache: 'npm'

0 commit comments

Comments
 (0)