Skip to content

Commit 62bd500

Browse files
Use SHAs for all GitHub Actions
1 parent 69284d5 commit 62bd500

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ jobs:
2121

2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v6
24+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
2525
with:
2626
fetch-depth: 0
2727

2828
- name: Enable corepack
2929
run: corepack enable
3030

3131
- name: Set up Node.js
32-
uses: actions/setup-node@v6.4.0
32+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
3333
with:
3434
cache: yarn
3535
node-version-file: .nvmrc
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Sonar analysis
4747
if: ${{ env.SONAR_TOKEN }}
48-
uses: SonarSource/sonarqube-scan-action@v7
48+
uses: SonarSource/sonarqube-scan-action@7006c4492b2e0ee0f816d36501671557c97f5995
4949

5050
- name: Package build
5151
run: yarn build
@@ -59,15 +59,15 @@ jobs:
5959

6060
- name: Switch to PR branch
6161
if: ${{ github.event_name == 'pull_request' && env.CHROMATIC_PROJECT_TOKEN }}
62-
uses: actions/checkout@v6
62+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
6363
with:
6464
clean: false
6565
fetch-depth: 0
6666
ref: ${{ env.CHROMATIC_BRANCH }}
6767

6868
- name: Storybook deploy
6969
if: ${{ env.CHROMATIC_PROJECT_TOKEN }}
70-
uses: chromaui/action@v16.9.1
70+
uses: chromaui/action@8d925269a481085d451544f6bd9aa2ab3af55b5d
7171
with:
7272
autoAcceptChanges: main
7373
branchName: ${{ env.CHROMATIC_BRANCH}}

‎.github/workflows/release.yml‎

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

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v6
16+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
1717
with:
1818
fetch-depth: 0
1919

2020
- name: Enable corepack
2121
run: corepack enable
2222

2323
- name: Set up Node.js
24-
uses: actions/setup-node@v6.4.0
24+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
2525
with:
2626
cache: yarn
2727
node-version-file: .nvmrc

0 commit comments

Comments
 (0)