Skip to content

Commit 008c8ea

Browse files
committed
Using commit sha for GH actions
1 parent ccaf967 commit 008c8ea

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/master.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ jobs:
1010
matrix:
1111
os: [ubuntu-latest]
1212
steps:
13-
- uses: actions/checkout@v1
14-
- name: Use Node.js
15-
uses: actions/setup-node@v1
13+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Use Node.js
14+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1615
with:
1716
node-version: 20
1817
- name: install, build, and test

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313

1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1717
with:
1818
fetch-depth: 0 # IMPORTANT: full history for yarn version
1919

2020
- name: Setup Node with trusted publishing
21-
uses: actions/setup-node@v4
21+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2222
with:
2323
node-version: 24
2424
registry-url: https://registry.npmjs.org

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525

2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2929
with:
3030
fetch-depth: 0 # full history for yarn version
3131

3232
- name: Setup Node with trusted publishing
33-
uses: actions/setup-node@v4
33+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
3434
with:
3535
node-version: 24
3636
registry-url: https://registry.npmjs.org

0 commit comments

Comments
 (0)