Skip to content

Commit b413bce

Browse files
authored
chore: pin official actions as well (#22481)
1 parent ebf39a0 commit b413bce

11 files changed

Lines changed: 26 additions & 32 deletions

.github/renovate.json5

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
{
1414
"matchDepTypes": ["action"],
1515
"pinDigests": true,
16-
"matchPackageNames": ["!actions/{/,}**", "!github/{/,}**"],
1716
},
1817
{
1918
"groupName": "rolldown-related dependencies",

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
steps:
4141
- name: Checkout
42-
uses: actions/checkout@v6
42+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
4343
with:
4444
# Assume PRs are less than 50 commits
4545
fetch-depth: 50
@@ -76,15 +76,15 @@ jobs:
7676
name: "Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }}"
7777
steps:
7878
- name: Checkout
79-
uses: actions/checkout@v6
79+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
8080
with:
8181
persist-credentials: false
8282

8383
- name: Install pnpm
8484
uses: pnpm/action-setup@91ab88e2619ed1f46221f0ba42d1492c02baf788 # v6.0.6
8585

8686
- name: Set node version to ${{ matrix.node_version }}
87-
uses: actions/setup-node@v6
87+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
8888
with:
8989
node-version: ${{ matrix.node_version }}
9090
cache: "pnpm"
@@ -107,7 +107,7 @@ jobs:
107107
echo "PLAYWRIGHT_VERSION=$env:PLAYWRIGHT_VERSION" >> $env:GITHUB_ENV
108108
109109
- name: Cache Playwright's binary
110-
uses: actions/cache@v5
110+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
111111
with:
112112
key: ${{ runner.os }}-playwright-bin-v1-${{ env.PLAYWRIGHT_VERSION }}
113113
path: ${{ env.PLAYWRIGHT_BROWSERS_PATH }}
@@ -151,15 +151,15 @@ jobs:
151151
runs-on: ubuntu-latest
152152
name: "Lint: node-24, ubuntu-latest"
153153
steps:
154-
- uses: actions/checkout@v6
154+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
155155
with:
156156
persist-credentials: false
157157

158158
- name: Install pnpm
159159
uses: pnpm/action-setup@91ab88e2619ed1f46221f0ba42d1492c02baf788 # v6.0.6
160160

161161
- name: Set node version to 24
162-
uses: actions/setup-node@v6
162+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
163163
with:
164164
node-version: 24
165165
cache: "pnpm"

.github/workflows/copilot-setup-steps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
contents: write
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v6
17+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1818
with:
1919
persist-credentials: false
2020

2121
- name: Install pnpm
2222
uses: pnpm/action-setup@91ab88e2619ed1f46221f0ba42d1492c02baf788 # v6.0.6
2323

2424
- name: Set node version to 24
25-
uses: actions/setup-node@v6
25+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
2626
with:
2727
node-version: 24
2828
cache: "pnpm"

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
actions: read # to check workflow status
1515
steps:
1616
- name: Check User Permissions
17-
uses: actions/github-script@v9
17+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
1818
id: check-permissions
1919
with:
2020
script: |
@@ -55,7 +55,7 @@ jobs:
5555
}
5656
5757
- name: Get PR Data
58-
uses: actions/github-script@v9
58+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
5959
id: get-pr-data
6060
with:
6161
script: |
@@ -105,7 +105,7 @@ jobs:
105105
}
106106
107107
- name: Check Package Existence
108-
uses: actions/github-script@v9
108+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
109109
id: check-package
110110
env:
111111
PR_DATA: ${{ steps.get-pr-data.outputs.result }}
@@ -131,7 +131,7 @@ jobs:
131131
132132
- name: Generate Token
133133
id: generate-token
134-
uses: actions/create-github-app-token@v3
134+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
135135
with:
136136
app-id: ${{ secrets.ECOSYSTEM_CI_GITHUB_APP_ID }}
137137
private-key: ${{ secrets.ECOSYSTEM_CI_GITHUB_APP_PRIVATE_KEY }}
@@ -141,7 +141,7 @@ jobs:
141141
142142
- name: Trigger Preview Release (if Package Not Found)
143143
if: fromJSON(steps.check-package.outputs.result).exists == false
144-
uses: actions/github-script@v9
144+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
145145
id: trigger-preview-release
146146
env:
147147
PR_DATA: ${{ steps.get-pr-data.outputs.result }}
@@ -162,7 +162,7 @@ jobs:
162162
163163
- name: Wait for Preview Release Completion (if Package Not Found)
164164
if: fromJSON(steps.check-package.outputs.result).exists == false
165-
uses: actions/github-script@v9
165+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
166166
id: wait-preview-release
167167
env:
168168
PR_DATA: ${{ steps.get-pr-data.outputs.result }}
@@ -232,7 +232,7 @@ jobs:
232232
}
233233
234234
- name: Trigger Downstream Workflow
235-
uses: actions/github-script@v9
235+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
236236
id: trigger
237237
env:
238238
COMMENT: ${{ github.event.comment.body }}

.github/workflows/issue-template-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
template_type: ${{ steps.detect.outputs.template_type }}
1818
skip: ${{ steps.detect.outputs.skip }}
1919
steps:
20-
- uses: actions/checkout@v6
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2121
with:
2222
persist-credentials: false
2323

2424
- name: Detect issue type
2525
id: detect
26-
uses: actions/github-script@v9
26+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
2727
with:
2828
script: |
2929
const labels = context.payload.issue.labels.map(l => l.name);
@@ -107,7 +107,7 @@ jobs:
107107
issues: write
108108
steps:
109109
- name: Write result to summary
110-
uses: actions/github-script@v9
110+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
111111
env:
112112
TEMPLATE_TYPE: ${{ needs.evaluate-issue.outputs.template_type }}
113113
AGENT_OUTPUT: ${{ needs.evaluate-issue.outputs.agent_output }}

.github/workflows/preview-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout code
26-
uses: actions/checkout@v6
26+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2727
with:
2828
persist-credentials: false
2929

3030
- name: Install pnpm
3131
uses: pnpm/action-setup@91ab88e2619ed1f46221f0ba42d1492c02baf788 # v6.0.6
3232

3333
- name: Set node version to 24
34-
uses: actions/setup-node@v6
34+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3535
with:
3636
node-version: 24
3737
registry-url: https://registry.npmjs.org/

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
environment: Release
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v6
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2222
with:
2323
persist-credentials: false
2424

2525
- name: Install pnpm
2626
uses: pnpm/action-setup@91ab88e2619ed1f46221f0ba42d1492c02baf788 # v6.0.6
2727

2828
- name: Set node version to 24
29-
uses: actions/setup-node@v6
29+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3030
with:
3131
node-version: 24
3232
registry-url: https://registry.npmjs.org/

.github/workflows/pull-request-template-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
outputs:
2121
agent_output: ${{ steps.agent.outputs.agent_output }}
2222
steps:
23-
- uses: actions/checkout@v6
23+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2424
with:
2525
persist-credentials: false
2626

@@ -69,7 +69,7 @@ jobs:
6969
pull-requests: write
7070
steps:
7171
- name: Write result to summary
72-
uses: actions/github-script@v9
72+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
7373
env:
7474
AGENT_OUTPUT: ${{ needs.evaluate-pr.outputs.agent_output }}
7575
with:

.github/workflows/release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
permissions:
1717
contents: write # for yyx990803/release-tag to create a release tag
1818
steps:
19-
- uses: actions/checkout@v6
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2020
with:
2121
persist-credentials: false
2222

.github/workflows/zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
permissions:
2323
security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
2424
steps:
25-
- uses: actions/checkout@v6
25+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2626
with:
2727
persist-credentials: false
2828

0 commit comments

Comments
 (0)