Skip to content

Commit 1fdd086

Browse files
author
Ian Delahorne
authored
Merge pull request #598 from Shopify/pin-actions-commit
Pin GitHub Actions to commit
2 parents 7719631 + b4b9f7b commit 1fdd086

3 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ jobs:
2424
steps:
2525
-
2626
name: Checkout
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2828
-
29-
uses: ruby/setup-ruby@v1
29+
uses: ruby/setup-ruby@e34163cd15f4bb403dcd72d98e295997e6a55798 # v1.238.0
3030
with:
3131
bundler-cache: true
3232
-
3333
name: Ruby Linting
3434
run: bundle exec rubocop
3535
-
3636
name: Yaml Linting
37-
uses: ibiqlik/action-yamllint@v3
37+
uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c # v3.1.1
3838
with:
3939
config_file: .yamllint.yml

.github/workflows/dependencies.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
steps:
2020
-
2121
name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323
-
2424
name: Cache
25-
uses: actions/cache@v4
25+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
2626
with:
2727
path: vendor/bundle
2828
key: ${{ runner.os }}-ruby-3.1-gems-${{ hashFiles('Gemfile.lock') }}
@@ -44,7 +44,7 @@ jobs:
4444
-
4545
name: Create Pull Request
4646
id: cpr
47-
uses: peter-evans/create-pull-request@v7
47+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
4848
with:
4949
title: Bump gems
5050
labels: ruby,dependencies

.github/workflows/test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,13 @@ jobs:
5757
steps:
5858
-
5959
name: Checkout
60-
uses: actions/checkout@v4
60+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6161
-
6262
name: Cache
63-
uses: actions/cache@v4
63+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
6464
with:
6565
path: vendor/bundle
66+
# yamllint disable-line rule:line-length
6667
key: ${{ runner.os }}-ruby-${{ matrix.ruby }}-gems-${{ hashFiles( format('{0}.lock', env.BUNDLE_GEMFILE) ) }}
6768
restore-keys: |
6869
${{ runner.os }}-ruby-${{ matrix.ruby }}-gems-
@@ -163,12 +164,13 @@ jobs:
163164
steps:
164165
-
165166
name: Checkout
166-
uses: actions/checkout@v4
167+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
167168
-
168169
name: Cache
169-
uses: actions/cache@v4
170+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
170171
with:
171172
path: vendor/bundle
173+
# yamllint disable-line rule:line-length
172174
key: ${{ runner.os }}-ruby-${{ matrix.ruby }}-adapter-${{ matrix.gemfile }}-gems-${{ hashFiles( format('{0}.lock', env.BUNDLE_GEMFILE) ) }}
173175
restore-keys: |
174176
${{ runner.os }}-ruby-${{ matrix.ruby }}-adapter-${{ matrix.gemfile }}-gems-

0 commit comments

Comments
 (0)