Skip to content

Commit 239c942

Browse files
committed
Pin GitHub Actions to immutable commit SHAs
1 parent 9837731 commit 239c942

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/autorebase.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout the latest code
12-
uses: actions/checkout@v2
12+
# v2
13+
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
1314
with:
1415
token: ${{ secrets.GITHUB_TOKEN }}
1516
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
1617
- name: Automatic Rebase
17-
uses: cirrus-actions/rebase@1.7
18+
# 1.7
19+
uses: cirrus-actions/rebase@6e572f08c244e2f04f9beb85a943eb618218714d
1820
env:
1921
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/needs-attention.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v3
1919
- name: Apply Needs Attention Label
20-
uses: hramos/needs-attention@v1
20+
# v1
21+
uses: hramos/needs-attention@4d47f33c9b77fc9bf45670510c7847c382231317
2122
with:
2223
repo-token: ${{ secrets.GITHUB_TOKEN }}
2324
response-required-label: "Needs: Author Feedback"

.github/workflows/on-issue-labeled.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v3
1919
- name: Respond to Issue Based on Label
20-
uses: hramos/respond-to-issue-based-on-label@v2
20+
# v2
21+
uses: hramos/respond-to-issue-based-on-label@a366dfe725db739c4522391dd1cb3daa9cb399d5
2122
with:
2223
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)