Skip to content

Commit bdbe7cc

Browse files
committed
Update some of the actions to Shas
1 parent a1910a7 commit bdbe7cc

22 files changed

+52
-52
lines changed

.github/allowed-actions.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
// can be added it this list.
55

66
module.exports = [
7-
'actions/cache@v1',
8-
'actions/cache@v2',
9-
'actions/checkout@v2',
10-
'actions/github-script@0.9.0',
11-
'actions/github-script@v2.0.0',
12-
'actions/github-script@v2',
13-
'actions/github-script@v3',
14-
'actions/labeler@v2',
15-
'actions/setup-node@v1',
16-
'actions/setup-ruby@v1',
17-
'actions/stale@v3',
7+
'actions/cache@70655ec8323daeeaa7ef06d7c56e1b9191396cbe',
8+
'actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16',
9+
'actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675',
10+
'actions/github-script@5d03ada4b0a753e9460b312e61cc4f8fdeacf163',
11+
'actions/github-script@6e5ee1dc1cb3740e5e5e76ad668e3f526edbfe45',
12+
'actions/github-script@44b873bc975058192f5279ebe7579496381f575d',
13+
'actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9',
14+
'actions/labeler@5f867a63be70efff62b767459b009290364495eb',
15+
'actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d',
16+
'actions/setup-ruby@5f29a1cd8dfebf420691c4c9a0e832e2fae5a526',
17+
'actions/stale@44f9eae0adddf72dbf3eedfacc999f70afcec1a8',
1818
'crowdin/github-action@1.0.10',
1919
'dawidd6/action-delete-branch@v3',
2020
'docker://chinthakagodawita/autoupdate-action:v1',

.github/workflows/60-days-stale-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
stale:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/stale@v3
10+
- uses: actions/stale@44f9eae0adddf72dbf3eedfacc999f70afcec1a8
1111
with:
1212
repo-token: ${{ secrets.GITHUB_TOKEN }}
1313
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity.'

.github/workflows/auto-label-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ jobs:
77
if: github.repository == 'github/docs-internal'
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/labeler@v2
10+
- uses: actions/labeler@5f867a63be70efff62b767459b009290364495eb
1111
with:
1212
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/browser-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
# Even if if doesn't do anything
2626
- if: ${{ needs.see_if_should_skip.outputs.should_skip == 'false' }}
2727
name: Checkout
28-
uses: actions/checkout@v2
28+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
2929

3030
- if: ${{ needs.see_if_should_skip.outputs.should_skip == 'false' }}
3131
name: Install

.github/workflows/check-all-english-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
if: github.repository == 'github/docs-internal'
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
1414
- name: npm ci
1515
run: npm ci
1616
- name: npm run build

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
1919
- uses: github/codeql-action/init@v1
2020
with:
2121
languages: javascript # comma separated list of values from {go, python, javascript, java, cpp, csharp} (not YET ruby, sorry!)

.github/workflows/crowdin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
1919

2020
- name: Sync
2121
uses: crowdin/github-action@1.0.10

.github/workflows/merged-notification.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
if: github.event.repository.private == false && github.event.pull_request.merged && github.event.pull_request.base.ref == github.event.repository.default_branch
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/github-script@v3
10+
- uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
1111
with:
1212
script: |
1313
github.issues.createComment({

.github/workflows/pa11y.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Check out repo
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
1212

1313
- name: Get npm cache directory
1414
id: npm-cache
1515
run: |
1616
echo "::set-output name=dir::$(npm config get cache)"
1717
1818
- name: Cache node modules
19-
uses: actions/cache@v2
19+
uses: actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16
2020
with:
2121
path: ${{ steps.npm-cache.outputs.dir }}
2222
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/ping-staging-apps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
env:
1313
HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }}
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
1616
- name: npm ci
1717
run: npm ci
1818
- name: npm run build
1919
run: npm run build
2020
- name: Run script
21-
run: script/ping-staging-apps.js
21+
run: script/ping-staging-apps.js

.github/workflows/remove-unused-assets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
echo 'The repo is currently frozen! Exiting this workflow.'
2020
exit 1 # prevents further steps from running
2121
- name: Checkout
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
2323
- name: npm ci
2424
run: npm ci
2525
- name: Run scripts

.github/workflows/repo-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
exit 1 # prevents further steps from running
2828
2929
- name: Check out repo
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
3131

3232
- name: Sync repo to branch
3333
uses: repo-sync/github-sync@v2

.github/workflows/send-eng-issues-to-backlog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- name: Add issues with engineering label to project board
1414
if: contains(github.event.issue.labels.*.name, 'engineering') || contains(github.event.issue.labels.*.name, 'design') || contains(github.event.issue.labels.*.name, 'Design')
15-
uses: actions/github-script@v2
15+
uses: actions/github-script@44b873bc975058192f5279ebe7579496381f575d
1616
with:
1717
github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
1818
script: |

.github/workflows/start-new-engineering-pr-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
REGULAR_COLUMN_ID: 10095779
1414
steps:
1515
- name:
16-
uses: actions/github-script@v2
16+
uses: actions/github-script@44b873bc975058192f5279ebe7579496381f575d
1717
continue-on-error: true
1818
with:
1919
github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}

.github/workflows/sync-algolia-search-indices.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: checkout
15-
uses: actions/checkout@v2
16-
- uses: actions/setup-node@v1
15+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
16+
- uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d
1717
with:
1818
node-version: 14.x
1919
- name: cache node modules
20-
uses: actions/cache@v1
20+
uses: actions/cache@70655ec8323daeeaa7ef06d7c56e1b9191396cbe
2121
with:
2222
path: ~/.npm
2323
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/test-translations.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Check out repo
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
1616
with:
1717
ref: translations # check out the 'translations' branch
1818

1919
- name: Setup node
20-
uses: actions/setup-node@v1
20+
uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d
2121
with:
2222
node-version: 14.x
2323

@@ -27,7 +27,7 @@ jobs:
2727
echo "::set-output name=dir::$(npm config get cache)"
2828
2929
- name: Cache node modules
30-
uses: actions/cache@v2
30+
uses: actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16
3131
with:
3232
path: ${{ steps.npm-cache.outputs.dir }}
3333
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -52,10 +52,10 @@ jobs:
5252
test-group: [content, meta, rendering, routing, unit, links-and-images]
5353
steps:
5454
- name: Check out repo
55-
uses: actions/checkout@v2
55+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
5656

5757
- name: Setup node
58-
uses: actions/setup-node@v1
58+
uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d
5959
with:
6060
node-version: 14.x
6161

.github/workflows/test-windows.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
runs-on: windows-latest
1616
steps:
1717
- name: Check out repo
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
1919

2020
- name: Setup node
21-
uses: actions/setup-node@v1
21+
uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d
2222
with:
2323
node-version: 14.x
2424

@@ -28,7 +28,7 @@ jobs:
2828
echo "::set-output name=dir::$(npm config get cache)"
2929
3030
- name: Cache node modules
31-
uses: actions/cache@v2
31+
uses: actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16
3232
with:
3333
path: ${{ steps.npm-cache.outputs.dir }}
3434
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -52,10 +52,10 @@ jobs:
5252
test-group: [content, meta, rendering, routing, unit, links-and-images]
5353
steps:
5454
- name: Check out repo
55-
uses: actions/checkout@v2
55+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
5656

5757
- name: Setup node
58-
uses: actions/setup-node@v1
58+
uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d
5959
with:
6060
node-version: 14.x
6161

@@ -65,7 +65,7 @@ jobs:
6565
echo "::set-output name=dir::$(npm config get cache)"
6666
6767
- name: Cache node modules
68-
uses: actions/cache@v2
68+
uses: actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16
6969
with:
7070
path: ${{ steps.npm-cache.outputs.dir }}
7171
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
# Even if if doesn't do anything
3636
- if: ${{ needs.see_if_should_skip.outputs.should_skip == 'false' }}
3737
name: Check out repo
38-
uses: actions/checkout@v2
38+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
3939

4040
- if: ${{ needs.see_if_should_skip.outputs.should_skip == 'false' }}
4141
name: Setup node
42-
uses: actions/setup-node@v1
42+
uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d
4343
with:
4444
node-version: 14.x
4545

@@ -51,7 +51,7 @@ jobs:
5151
5252
- if: ${{ needs.see_if_should_skip.outputs.should_skip == 'false' }}
5353
name: Cache node modules
54-
uses: actions/cache@v2
54+
uses: actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16
5555
with:
5656
path: ${{ steps.npm-cache.outputs.dir }}
5757
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -81,11 +81,11 @@ jobs:
8181
# Even if if doesn't do anything
8282
- if: ${{ needs.see_if_should_skip.outputs.should_skip == 'false' }}
8383
name: Check out repo
84-
uses: actions/checkout@v2
84+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
8585

8686
- if: ${{ needs.see_if_should_skip.outputs.should_skip == 'false' }}
8787
name: Setup node
88-
uses: actions/setup-node@v1
88+
uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d
8989
with:
9090
node-version: 14.x
9191

@@ -97,7 +97,7 @@ jobs:
9797
9898
- if: ${{ needs.see_if_should_skip.outputs.should_skip == 'false' }}
9999
name: Cache node modules
100-
uses: actions/cache@v2
100+
uses: actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16
101101
with:
102102
path: ${{ steps.npm-cache.outputs.dir }}
103103
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/translations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
branch: translations
2525
- if: ${{ steps.pr.outputs.number }}
2626
name: Check if already labeled
27-
uses: actions/github-script@0.9.0
27+
uses: actions/github-script@5d03ada4b0a753e9460b312e61cc4f8fdeacf163
2828
id: has-label
2929
with:
3030
script: |
@@ -44,7 +44,7 @@ jobs:
4444
number: ${{ steps.pr.outputs.number }}
4545
- if: ${{ !steps.has-label.outputs.result }}
4646
name: Add automerge label
47-
uses: actions/github-script@0.9.0
47+
uses: actions/github-script@5d03ada4b0a753e9460b312e61cc4f8fdeacf163
4848
with:
4949
github-token: ${{ secrets.GITHUB_TOKEN }}
5050
script: |

.github/workflows/triage-issue-comments.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
steps:
1212
- name: Check if the event originated from a team member
13-
uses: actions/github-script@v2.0.0
13+
uses: actions/github-script@6e5ee1dc1cb3740e5e5e76ad668e3f526edbfe45
1414
id: is-internal-contributor
1515
with:
1616
github-token: ${{secrets.GITHUB_TOKEN}}

.github/workflows/triage-stale-check.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

1111
steps:
12-
- uses: actions/stale@v3
12+
- uses: actions/stale@44f9eae0adddf72dbf3eedfacc999f70afcec1a8
1313
with:
1414
repo-token: ${{ secrets.GITHUB_TOKEN }}
1515
stale-pr-message: 'This PR is stale because it has been open 7 days with no activity and will be automatically closed in 3 days. To keep this PR open, update the PR by adding a comment or pushing a commit.'

.github/workflows/update-graphql-files.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
echo 'The repo is currently frozen! Exiting this workflow.'
2323
exit 1 # prevents further steps from running
2424
- name: Checkout
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
2626
- name: Set up Ruby
27-
uses: actions/setup-ruby@v1
27+
uses: actions/setup-ruby@5f29a1cd8dfebf420691c4c9a0e832e2fae5a526
2828
with:
2929
ruby-version: '2.4'
3030
- name: Install Ruby dependencies

0 commit comments

Comments
 (0)