Skip to content

Commit 8e726de

Browse files
authoredFeb 7, 2025
fix(workflows): pin 3rd party actions (mdn#38016)
1 parent 7b40f15 commit 8e726de

9 files changed

+10
-10
lines changed
 

‎.github/workflows/auto-cleanup-bot.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
4040
- name: Create PR with only fixable issues
4141
if: success()
42-
uses: peter-evans/create-pull-request@v7
42+
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
4343
with:
4444
commit-message: "chore: auto-fix Markdownlint, Prettier, and front-matter issues"
4545
branch: markdownlint-auto-cleanup
@@ -54,7 +54,7 @@ jobs:
5454

5555
- name: Create PR with notice on unfixed issues
5656
if: failure()
57-
uses: peter-evans/create-pull-request@v7
57+
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
5858
with:
5959
commit-message: "chore: auto-fix Markdownlint, Prettier, and front-matter issues"
6060
branch: markdownlint-auto-cleanup

‎.github/workflows/auto-merge.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
if: github.event.pull_request.user.login == 'dependabot[bot]'
1313
steps:
14-
- uses: ahmadnassri/action-dependabot-auto-merge@v2.6
14+
- uses: ahmadnassri/action-dependabot-auto-merge@45fc124d949b19b6b8bf6645b6c9d55f4f9ac61a # v2.6.6
1515
with:
1616
github-token: ${{ secrets.AUTOMERGE_TOKEN }}
1717
command: "squash and merge"

‎.github/workflows/interfacedata-updater.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: node scripts/update-interface-data.js ../webref/
3939

4040
- name: Create pull request
41-
uses: peter-evans/create-pull-request@v7
41+
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
4242
with:
4343
path: mdn-content
4444
token: ${{ secrets.AUTOMERGE_TOKEN }}

‎.github/workflows/new-issues.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: initial labelling
18-
uses: andymckay/labeler@master
18+
uses: andymckay/labeler@3a4296e9dcdf9576b0456050db78cfd34853f260 # master
1919
with:
2020
add-labels: "needs triage"
2121
ignore-if-assigned: true

‎.github/workflows/ping-other-repos.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Ping w3c/mdn-spec-links
2727
# This is one of many possible repos we can ping. When adding other
2828
# repos, you can follow this w3c/mdn-spec-links one as an example.
29-
uses: peter-evans/repository-dispatch@v3
29+
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0
3030
with:
3131
token: ${{ secrets.REPO_PINGER_MDN_SPEC_LINKS }}
3232
repository: w3c/mdn-spec-links

‎.github/workflows/pr-check-lint_content.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
132132
- name: Setup reviewdog
133133
if: env.FILES_MODIFIED == 'true' || env.MD_LINT_FAILED == 'true'
134-
uses: reviewdog/action-setup@v1
134+
uses: reviewdog/action-setup@3f401fe1d58fe77e10d665ab713057375e39b887 # v1.3.0
135135
with:
136136
reviewdog_version: latest
137137

‎.github/workflows/pr-check_redirects.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# This is a "required" workflow so path filtering can not be used:
2525
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks
2626
# We have to rely on a custom filtering mechanism to run the checks only if required files are modified.
27-
- uses: dorny/paths-filter@v3
27+
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
2828
name: See if any file needs checking
2929
id: filter
3030
with:

‎.github/workflows/pr-labeler.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
name: Label by size
3333
runs-on: ubuntu-latest
3434
steps:
35-
- uses: codelytv/pr-size-labeler@v1
35+
- uses: codelytv/pr-size-labeler@1c3422395d899286d5ee2c809fd5aed264d5eb9b # v1.10.2
3636
with:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838
github_api_url: "https://api.github.com"

‎.github/workflows/pr-review-companion.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161

6262
- name: Install Python poetry
6363
if: env.HAS_ARTIFACT
64-
uses: snok/install-poetry@v1.4
64+
uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1.4.1
6565
with:
6666
virtualenvs-create: true
6767
virtualenvs-in-project: true

0 commit comments

Comments
 (0)
Please sign in to comment.