Skip to content

Commit 2e6f1b3

Browse files
committed
chore: pin GitHub Actions to full-length commit SHAs
1 parent 1168672 commit 2e6f1b3

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/CI.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
name: Build
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
14-
- uses: actions/setup-node@v4
13+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
14+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1515
with:
1616
cache: yarn
1717
node-version-file: 'package.json'
@@ -22,7 +22,7 @@ jobs:
2222
- name: Build
2323
run: yarn build
2424
- name: Upload Artifacts
25-
uses: actions/upload-artifact@v4
25+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
2626
with:
2727
name: ${{ github.sha }}
2828
path: ./packages/**/dist/**/*
@@ -36,15 +36,15 @@ jobs:
3636
matrix:
3737
version: [18, 20, 22]
3838
steps:
39-
- uses: actions/checkout@v4
40-
- uses: actions/setup-node@v4
39+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
40+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
4141
with:
4242
cache: yarn
4343
node-version: ${{ matrix.version }}
4444
- name: Install
4545
run: yarn install
4646
- name: Download Artifacts
47-
uses: actions/download-artifact@v4
47+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
4848
with:
4949
path: ./packages
5050
merge-multiple: true
@@ -56,15 +56,15 @@ jobs:
5656
runs-on: macos-latest
5757
needs: build
5858
steps:
59-
- uses: actions/checkout@v4
60-
- uses: actions/setup-node@v4
59+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
60+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
6161
with:
6262
cache: yarn
6363
node-version-file: 'package.json'
6464
- name: Install
6565
run: yarn install
6666
- name: Download Artifacts
67-
uses: actions/download-artifact@v4
67+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
6868
with:
6969
path: ./packages
7070
merge-multiple: true

.github/workflows/prepare-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ jobs:
1010
name: Prepare Publish
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
14-
- uses: actions/setup-node@v4
13+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
14+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1515
with:
1616
cache: yarn
1717
node-version-file: "package.json"
1818
- name: Install
1919
run: yarn install
2020
- name: Create Release Pull Request
2121
id: changesets
22-
uses: changesets/action@v1
22+
uses: changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf # v1
2323
with:
2424
version: yarn changeset:consume
2525
commit: "meta(changelog): Update package versions"

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
contains(github.event.head_commit.message, 'meta(changelog)')
2222
&& contains(github.event.head_commit.message, 'Update package versions')
2323
steps:
24-
- uses: actions/checkout@v4
25-
- uses: actions/setup-node@v4
24+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
25+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2626
with:
2727
cache: yarn
2828
node-version-file: "package.json"
@@ -31,7 +31,7 @@ jobs:
3131
- name: Build
3232
run: yarn build
3333
- name: Publish to NPM
34-
uses: changesets/action@v1
34+
uses: changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf # v1
3535
env:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3737
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)