Skip to content

Commit 10bbbe9

Browse files
authored
ci: pin third party actions to commit shas (#7687)
1 parent 3fdee3d commit 10bbbe9

File tree

10 files changed

+17
-12
lines changed

10 files changed

+17
-12
lines changed

.github/actions/setup-and-cache/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111

1212
steps:
1313
- name: Install pnpm
14-
uses: pnpm/action-setup@v4
14+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
1515

1616
- name: Set node version to ${{ inputs.node-version }}
1717
uses: actions/setup-node@v4

.github/renovate.json5

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
{
1212
"depTypeList": ["peerDependencies"],
1313
"enabled": false
14+
},
15+
{
16+
"matchDepTypes": ["action"],
17+
"excludePackagePrefixes": ["actions/", "github/"],
18+
"pinDigests": true
1419
}
1520
],
1621
"ignoreDeps": [

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
with:
9898
node-version: ${{ matrix.node_version }}
9999

100-
- uses: browser-actions/setup-chrome@v1
100+
- uses: browser-actions/setup-chrome@c785b87e244131f27c9f19c1a33e2ead956ab7ce # v1.7.3
101101

102102
- name: Install
103103
run: pnpm i
@@ -139,8 +139,8 @@ jobs:
139139
with:
140140
node-version: 20
141141

142-
- uses: browser-actions/setup-chrome@v1
143-
- uses: browser-actions/setup-firefox@v1
142+
- uses: browser-actions/setup-chrome@c785b87e244131f27c9f19c1a33e2ead956ab7ce # v1.7.3
143+
- uses: browser-actions/setup-firefox@634a60ccd6599686158cf5a570481b4cd30455a2 # v1.5.4
144144

145145
- name: Install
146146
run: pnpm i

.github/workflows/cr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
fetch-depth: 0
2525

2626
- name: Install pnpm
27-
uses: pnpm/action-setup@v4
27+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
2828

2929
- name: Set node version to 20
3030
uses: actions/setup-node@v4

.github/workflows/ecosystem-ci-trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
repo: pr.head.repo.full_name
6262
}
6363
- id: generate-token
64-
uses: tibdex/github-app-token@v2
64+
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
6565
with:
6666
app_id: ${{ secrets.ECOSYSTEM_CI_GITHUB_APP_ID }}
6767
installation_retrieval_payload: '${{ github.repository_owner }}/vitest-ecosystem-ci'

.github/workflows/issue-close-require.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: needs reproduction
12-
uses: actions-cool/issues-helper@v3
12+
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3.6.0
1313
with:
1414
actions: close-issues
1515
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/issue-labeled.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- name: needs reproduction
1212
if: github.event.label.name == 'needs reproduction'
13-
uses: actions-cool/issues-helper@v3
13+
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3.6.0
1414
with:
1515
actions: create-comment
1616
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/lock-closed-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.repository == 'vitest-dev/vitest'
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: dessant/lock-threads@v5
15+
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
1616
with:
1717
github-token: ${{ secrets.GITHUB_TOKEN }}
1818
issue-inactive-days: '14'

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fetch-depth: 0
2121

2222
- name: Install pnpm
23-
uses: pnpm/action-setup@v4
23+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
2424

2525
- name: Set node version to 20
2626
uses: actions/setup-node@v4

docs/guide/improving-performance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
node-version: 20
116116

117117
- name: Install pnpm
118-
uses: pnpm/action-setup@v4
118+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
119119

120120
- name: Install dependencies
121121
run: pnpm i
@@ -144,7 +144,7 @@ jobs:
144144
node-version: 20
145145

146146
- name: Install pnpm
147-
uses: pnpm/action-setup@v4
147+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
148148

149149
- name: Install dependencies
150150
run: pnpm i

0 commit comments

Comments
 (0)