Skip to content

Commit 41e7565

Browse files
rxbchenabecevello
andauthored
Pin GitHub Actions to commit (#156)
* update github actions to commits * Disable min-spaces-from-content yamllint rule --------- Co-authored-by: Adam Becevello <adam.becevello@shopify.com>
1 parent 8114f65 commit 41e7565

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/analysis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
steps:
1818
-
1919
name: checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121
with:
2222
fetch-depth: 0
2323
-
24-
uses: ruby/setup-ruby@v1
24+
uses: ruby/setup-ruby@e34163cd15f4bb403dcd72d98e295997e6a55798 # v1.238.0
2525
with:
2626
bundler-cache: true
2727
-
@@ -35,7 +35,7 @@ jobs:
3535
severity: error
3636
-
3737
name: yaml-lint
38-
uses: ibiqlik/action-yamllint@v3
38+
uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c # v3.1.1
3939
with:
4040
config_file: .yamllint.yml
4141

@@ -49,14 +49,14 @@ jobs:
4949
steps:
5050
-
5151
name: checkout
52-
uses: actions/checkout@v4
52+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5353
with:
5454
fetch-depth: 0
5555
-
5656
name: initialize
57-
uses: github/codeql-action/init@v3
57+
uses: github/codeql-action/init@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
5858
with:
5959
languages: ruby
6060
-
6161
name: codeql analyze
62-
uses: github/codeql-action/analyze@v3
62+
uses: github/codeql-action/analyze@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17

.github/workflows/pre_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
-
2222
name: Checkout
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
with:
2525
fetch-depth: 0
2626

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
ruby: [ "3.0", "3.1", "3.2", "3.3" ]
1717
name: Ruby ${{ matrix.ruby }}
1818
steps:
19-
- uses: actions/checkout@v4
20-
- uses: ruby/setup-ruby@v1
19+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
- uses: ruby/setup-ruby@e34163cd15f4bb403dcd72d98e295997e6a55798 # v1.238.0
2121
with:
2222
ruby-version: ${{ matrix.ruby }}
2323
bundler-cache: true

.yamllint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ignore: |
1111
rules:
1212
comments:
1313
require-starting-space: true
14+
min-spaces-from-content: 1
1415
comments-indentation: enable
1516
document-start:
1617
present: true

0 commit comments

Comments
 (0)