Skip to content

Commit c40cb42

Browse files
authored
Pin GitHub Actions to commit (#20)
* update github actions to commits * prettier * add newline
1 parent ee13ef2 commit c40cb42

File tree

5 files changed

+18
-12
lines changed

5 files changed

+18
-12
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: '/'
5+
schedule:
6+
interval: weekly

.github/workflows/changesets-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ jobs:
77
name: Lint Changelog
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v4
10+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1111
- name: Lint changesets
1212
run: node .changeset/lint.mjs

.github/workflows/changesets-reminder.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
runs-on: ubuntu-latest
1010
if: ${{ !github.event.pull_request.draft }}
1111
steps:
12-
- uses: actions/checkout@v4
13-
- uses: mskelton/changelog-reminder-action@v2
12+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13+
- uses: mskelton/changelog-reminder-action@7039cd14fb784c0a2b37f6e7a6ade2c9148c2245 # v2.0.0
1414
with:
1515
changelogRegex: "\\.changeset"
1616
message: |

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
cancel-in-progress: true
1212
steps:
1313
- name: ⬇️ Checkout repo
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1515

1616
- name: ⎔ Setup node
17-
uses: actions/setup-node@v4
17+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
1818
with:
1919
node-version-file: '.nvmrc'
2020
cache: 'npm'
@@ -35,10 +35,10 @@ jobs:
3535
cancel-in-progress: true
3636
steps:
3737
- name: ⬇️ Checkout repo
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3939

4040
- name: ⎔ Setup node
41-
uses: actions/setup-node@v4
41+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
4242
with:
4343
node-version-file: '.nvmrc'
4444
cache: 'npm'
@@ -62,10 +62,10 @@ jobs:
6262
cancel-in-progress: true
6363
steps:
6464
- name: ⬇️ Checkout repo
65-
uses: actions/checkout@v4
65+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6666

6767
- name: ⎔ Setup node
68-
uses: actions/setup-node@v4
68+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
6969
with:
7070
node-version-file: '.nvmrc'
7171
cache: 'npm'

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
published: ${{ steps.changesets.outputs.published }}
2020
steps:
2121
- name: Checkout the code
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
2424
with:
2525
fetch-depth: 0
2626

2727
- name: ⎔ Setup node
28-
uses: actions/setup-node@v4
28+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2929
with:
3030
node-version-file: '.nvmrc'
3131
cache: 'npm'
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Create Release Pull Request or Publish
4444
id: changesets
45-
uses: changesets/action@v1
45+
uses: changesets/action@06245a4e0a36c064a573d4150030f5ec548e4fcc # v1.4.10
4646
with:
4747
publish: npm run changeset publish
4848
commit: '[ci] release'

0 commit comments

Comments
 (0)