Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 580857e

Browse files
authored
Pin versions of third-party github actions (#10351)
1 parent f8e6453 commit 580857e

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

.github/workflows/backport.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
)
2424
)
2525
steps:
26-
- uses: tibdex/backport@v2
26+
- uses: tibdex/backport@2e217641d82d02ba0603f46b1aeedefb258890ac # v2
2727
with:
2828
labels_template: "<%= JSON.stringify([...labels, 'X-Release-Blocker']) %>"
2929
# We can't use GITHUB_TOKEN here or CI won't run on the new PR

.github/workflows/cypress.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
steps:
3030
# We create the status here and then update it to success/failure in the `report` stage
3131
# This provides an easy link to this workflow_run from the PR before Cypress is done.
32-
- uses: Sibz/github-status-action@v1
32+
- uses: Sibz/github-status-action@faaa4d96fecf273bd762985e0e7f9f933c774918 # v1
3333
with:
3434
authToken: ${{ secrets.GITHUB_TOKEN }}
3535
state: pending
@@ -97,7 +97,7 @@ jobs:
9797
- uses: browser-actions/setup-chrome@latest
9898
- run: echo "BROWSER_PATH=$(which chrome)" >> $GITHUB_ENV
9999

100-
- uses: tecolicom/actions-use-apt-tools@v1
100+
- uses: tecolicom/actions-use-apt-tools@ceaf289fdbc6169fd2406a0f0365a584ffba003b # v1
101101
with:
102102
# Our test suite includes some screenshot tests with unusual diacritics, which are
103103
# supposed to be covered by STIXGeneral.
@@ -115,7 +115,7 @@ jobs:
115115
# There's a 'download artifact' action, but it hasn't been updated for the workflow_run action
116116
# (https://github.com/actions/download-artifact/issues/60) so instead we get this mess:
117117
- name: 📥 Download artifact
118-
uses: dawidd6/action-download-artifact@v2
118+
uses: dawidd6/action-download-artifact@5e780fc7bbd0cac69fc73271ed86edf5dcb72d67 # v2
119119
with:
120120
run_id: ${{ github.event.workflow_run.id }}
121121
name: previewbuild
@@ -205,7 +205,7 @@ jobs:
205205

206206
- name: Skip Percy required check
207207
if: needs.prepare.outputs.percy_enable != '1'
208-
uses: Sibz/github-status-action@v1
208+
uses: Sibz/github-status-action@faaa4d96fecf273bd762985e0e7f9f933c774918 # v1
209209
with:
210210
authToken: ${{ secrets.GITHUB_TOKEN }}
211211
state: success
@@ -214,7 +214,7 @@ jobs:
214214
sha: ${{ github.event.workflow_run.head_sha }}
215215
target_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
216216

217-
- uses: Sibz/github-status-action@v1
217+
- uses: Sibz/github-status-action@faaa4d96fecf273bd762985e0e7f9f933c774918 # v1
218218
with:
219219
authToken: ${{ secrets.GITHUB_TOKEN }}
220220
state: ${{ needs.tests.result == 'success' && 'success' || 'failure' }}

.github/workflows/i18n_check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: "Get modified files"
1313
id: changed_files
1414
if: github.event_name == 'pull_request' && github.event.pull_request.user.login != 'RiotTranslateBot'
15-
uses: tj-actions/changed-files@v35
15+
uses: tj-actions/changed-files@84ed30e2f4daf616144de7e0c1db59d5b33025e3 # v35
1616
with:
1717
files: |
1818
src/i18n/strings/*

.github/workflows/netlify.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
environment: Netlify
1414
steps:
1515
- name: 📝 Create Deployment
16-
uses: bobheadxi/deployments@v1
16+
uses: bobheadxi/deployments@88ce5600046c82542f8246ac287d0a53c461bca3 # v1
1717
id: deployment
1818
with:
1919
step: start
@@ -33,15 +33,15 @@ jobs:
3333
# There's a 'download artifact' action, but it hasn't been updated for the workflow_run action
3434
# (https://github.com/actions/download-artifact/issues/60) so instead we get this mess:
3535
- name: 📥 Download artifact
36-
uses: dawidd6/action-download-artifact@v2
36+
uses: dawidd6/action-download-artifact@5e780fc7bbd0cac69fc73271ed86edf5dcb72d67 # v2
3737
with:
3838
run_id: ${{ github.event.workflow_run.id }}
3939
name: previewbuild
4040
path: webapp
4141

4242
- name: ☁️ Deploy to Netlify
4343
id: netlify
44-
uses: nwtgck/[email protected]
44+
uses: nwtgck/actions-netlify@5da65c9f74c7961c5501a3ba329b8d0912f39c03 # v2.0
4545
with:
4646
publish-dir: webapp
4747
deploy-message: "Deploy from GitHub Actions"
@@ -55,7 +55,7 @@ jobs:
5555
timeout-minutes: 1
5656

5757
- name: 🚦 Update deployment status
58-
uses: bobheadxi/deployments@v1
58+
uses: bobheadxi/deployments@88ce5600046c82542f8246ac287d0a53c461bca3 # v1
5959
if: always()
6060
with:
6161
step: finish

.github/workflows/notify-element-web.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.repository == 'matrix-org/matrix-react-sdk'
1313
steps:
1414
- name: Notify element-web repo that a new SDK build is on develop
15-
uses: peter-evans/repository-dispatch@v2
15+
uses: peter-evans/repository-dispatch@26b39ed245ab8f31526069329e112ab2fb224588 # v2
1616
with:
1717
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
1818
repository: vector-im/element-web

.github/workflows/static_analysis.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ jobs:
6060

6161
- name: Get diff lines
6262
id: diff
63-
uses: Equip-Collaboration/[email protected]
63+
uses: Equip-Collaboration/diff-line-numbers@df70b4b83e05105c15f20dc6cc61f1463411b2a6 # v1.0.0
6464
with:
6565
include: '["\\.tsx?$"]'
6666

6767
- name: Detecting files changed
6868
id: files
69-
uses: futuratrepadeira/[email protected]
69+
uses: futuratrepadeira/changed-files@96d5fd702a6479d573287ef07381ad59acc390ed # v4.0.0
7070
with:
7171
repo-token: ${{ secrets.GITHUB_TOKEN }}
7272
pattern: '^.*\.tsx?$'

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747

4848
- name: Get number of CPU cores
4949
id: cpu-cores
50-
uses: SimenB/github-actions-cpu-cores@v1
50+
uses: SimenB/github-actions-cpu-cores@410541432439795d30db6501fb1d8178eb41e502 # v1
5151

5252
- name: Load metrics reporter
5353
id: metrics

0 commit comments

Comments
 (0)