Skip to content

Commit 9cb0924

Browse files
authored
Merge pull request #1969 from Shopify/pin-actions-commit
Pin GitHub Actions to commit
2 parents 007fc35 + 807f8e2 commit 9cb0924

File tree

6 files changed

+17
-12
lines changed

6 files changed

+17
-12
lines changed

.github/dependabot.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: "/"
5+
schedule:
6+
interval: weekly

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ jobs:
1515
version: ['3.1', '3.2', '3.3']
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
1919
- name: Cache node modules
20-
uses: actions/cache@v3
20+
uses: actions/cache@2f8e54208210a422b2efd51efaa6bd6d7ca8920f # v3.4.3
2121
with:
2222
# npm cache files are stored in `~/.npm` on Linux/macOS
2323
path: ~/.npm
2424
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
2525
- name: Set up Ruby ${{ matrix.version }}
26-
uses: ruby/setup-ruby@v1
26+
uses: ruby/setup-ruby@dffc446db9ba5a0c4446edb5bca1c5c473a806c5 # v1.235.0
2727
with:
2828
ruby-version: ${{ matrix.version }}
2929
bundler-cache: true
3030
- name: Set up Node
31-
uses: actions/setup-node@v3
31+
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
3232
with:
3333
node-version: '18'
3434
- name: Install Yarn Dependencies

.github/workflows/close-waiting-for-response-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: close-issues
11-
uses: actions-cool/issues-helper@v3
11+
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3.6.0
1212
with:
1313
actions: 'close-issues'
1414
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
- name: Extract tag name
1313
id: tag
1414
run: echo "value=${GITHUB_REF##*/}" >> "$GITHUB_OUTPUT"
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
1616

1717
- name: Create Release
1818
id: create_release
19-
uses: actions/create-release@v1
19+
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1.1.4
2020
env:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2222
with:

.github/workflows/remove-labels-on-activity.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ jobs:
77
remove-labels-on-activity:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
11-
- uses: actions-ecosystem/action-remove-labels@v1
10+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
11+
- uses: actions-ecosystem/action-remove-labels@2ce5d41b4b6aa8503e285553f75ed56e0a40bae0 # v1.2.0
1212
if: contains(github.event.issue.labels.*.name, 'Waiting for Response')
1313
with:
1414
labels: |
1515
Waiting for Response
16-

.github/workflows/rubocop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
1111
- name: Set up Ruby
12-
uses: ruby/setup-ruby@v1
12+
uses: ruby/setup-ruby@dffc446db9ba5a0c4446edb5bca1c5c473a806c5 # v1.235.0
1313
with:
1414
bundler-cache: true
1515
- name: Install gems

0 commit comments

Comments
 (0)