Skip to content

Commit 39616ff

Browse files
authored
chore(deps): pin all action dependency to SHA (#119)
* Pin all action dependency to SHA * fix typo
1 parent 90797ce commit 39616ff

File tree

7 files changed

+30
-29
lines changed

7 files changed

+30
-29
lines changed

.github/workflows/build-pr.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,28 @@ jobs:
1212
PR_NUMBER: ${{github.event.number}}
1313
steps:
1414
- name: Checkout repository
15-
uses: actions/checkout@v6.0.2
15+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
- name: Setup node
17-
uses: actions/setup-node@v6.2.0
17+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
1818
with:
19-
node-version: 24.13.1
20-
cache: "npm"
19+
node-version-file: ".node-version"
20+
package-manager-cache: false
2121
- name: Install dependencies
2222
run: npm ci
2323
- run: npm run lint
2424
- run: npm run typecheck
2525
- name: Build storybook
2626
run: npm run build-storybook
2727
- name: Upload artifact
28-
uses: actions/upload-artifact@v6.0.0
28+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
2929
with:
3030
name: preview
3131
path: storybook-static
3232
retention-days: 1
3333
- name: Save pr number
3434
run: echo ${PR_NUMBER} > ./pr.txt
3535
- name: Upload pr number
36-
uses: actions/upload-artifact@v6.0.0
36+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
3737
with:
3838
name: pr
3939
path: ./pr.txt

.github/workflows/cla.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: "CLA Assistant"
1313
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
1414
# Beta Release
15-
uses: cla-assistant/github-action@v2.6.1
15+
uses: cla-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1
1616
env:
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1818
# the below token should have repo scope and must be manually added by you in the repository's secret

.github/workflows/deploy-main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout repository
14-
uses: actions/checkout@v6.0.2
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515
- name: Setup node
16-
uses: actions/setup-node@v6.2.0
16+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
1717
with:
18-
node-version: 24.13.1
19-
cache: "npm"
18+
node-version-file: ".node-version"
19+
package-manager-cache: false
2020
- name: Install dependencies
2121
run: npm ci
2222
- run: npm run lint
2323
- run: npm run typecheck
2424
- name: Build storybook
2525
run: npm run build-storybook
2626
- name: Deploy to Netlify
27-
uses: nwtgck/actions-netlify@4cbaf4c08f1a7bfa537d6113472ef4424e4eb654
27+
uses: nwtgck/actions-netlify@4cbaf4c08f1a7bfa537d6113472ef4424e4eb654 # v3.0.0
2828
with:
2929
publish-dir: storybook-static
3030
deploy-message: "Main deploy ${{ github.sha }}"

.github/workflows/deploy-pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1616
steps:
1717
- name: Download pr number
18-
uses: dawidd6/action-download-artifact@fe9d59ce33ce92db8a6ac90b2c8be6b6d90417c8
18+
uses: dawidd6/action-download-artifact@fe9d59ce33ce92db8a6ac90b2c8be6b6d90417c8 # v15
1919
with:
2020
workflow: ${{ github.event.workflow.id }}
2121
run_id: ${{ github.event.workflow_run.id }}
@@ -24,15 +24,15 @@ jobs:
2424
id: pr
2525
run: echo "id=$(<pr.txt)" >> $GITHUB_OUTPUT
2626
- name: Download artifact
27-
uses: dawidd6/action-download-artifact@fe9d59ce33ce92db8a6ac90b2c8be6b6d90417c8
27+
uses: dawidd6/action-download-artifact@fe9d59ce33ce92db8a6ac90b2c8be6b6d90417c8 # v15
2828
with:
2929
workflow: ${{ github.event.workflow.id }}
3030
run_id: ${{ github.event.workflow_run.id }}
3131
name: preview
3232
path: storybook-static
3333
- name: Deploy to Netlify
3434
id: netlify
35-
uses: nwtgck/actions-netlify@4cbaf4c08f1a7bfa537d6113472ef4424e4eb654
35+
uses: nwtgck/actions-netlify@4cbaf4c08f1a7bfa537d6113472ef4424e4eb654 # v3.0.0
3636
with:
3737
publish-dir: storybook-static
3838
deploy-message: "Deploy PR ${{ steps.pr.outputs.id }} SB"
@@ -45,7 +45,7 @@ jobs:
4545
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID_PR_FOLDS }}
4646
timeout-minutes: 1
4747
- name: Comment preview on PR
48-
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b #v3.0.1
48+
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1
4949
env:
5050
github-token: ${{ secrets.GITHUB_TOKEN }}
5151
with:

.github/workflows/pr-title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
lint:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50
15+
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
1616
env:
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,25 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout repository
13-
uses: actions/checkout@v6.0.2
13+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1414
- name: Setup node
15-
uses: actions/setup-node@v6.2.0
15+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
1616
with:
17-
node-version: 24.13.1
18-
cache: "npm"
17+
node-version-file: ".node-version"
18+
package-manager-cache: false
1919
- run: npm ci
2020
- run: npm run lint
2121

2222
typecheck:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v6.0.2
26+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2727
- name: Setup node
28-
uses: actions/setup-node@v6.2.0
28+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
2929
with:
30-
node-version: 24.13.1
31-
cache: "npm"
30+
node-version-file: ".node-version"
31+
package-manager-cache: false
3232
- run: npm ci
3333
- run: npm run typecheck
3434

@@ -38,12 +38,12 @@ jobs:
3838
needs: [lint, typecheck]
3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v6.0.2
41+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4242
- name: Setup node
43-
uses: actions/setup-node@v6.2.0
43+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
4444
with:
45-
node-version: 24.13.1
46-
cache: "npm"
45+
node-version-file: ".node-version"
46+
package-manager-cache: false
4747
- run: npm ci
4848
- run: npm run build
4949
- run: npm run semantic-release

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v24.13.1

0 commit comments

Comments
 (0)