Skip to content

Commit ebed2d3

Browse files
committed
gha: pin workflows to hash
1 parent 48fc422 commit ebed2d3

File tree

10 files changed

+18
-18
lines changed

10 files changed

+18
-18
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
LD: ${{ matrix.cc }}
3232
steps:
3333
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
34-
uses: actions/checkout@v6
34+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3535
with:
3636
persist-credentials: false
3737
- name: Ruby version
@@ -46,13 +46,13 @@ jobs:
4646
timeout-minutes: 15
4747
steps:
4848
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
49-
uses: actions/checkout@v6
49+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5050
with:
5151
persist-credentials: false
5252
- name: Ruby version
5353
run: ruby -v
5454
- name: Cache cosmocc
55-
uses: actions/cache@v5
55+
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
5656
id: cache-cosmocc
5757
with:
5858
path: ~/cosmo
@@ -74,7 +74,7 @@ jobs:
7474
MRUBY_CONFIG: ci/msvc
7575
steps:
7676
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
77-
uses: actions/checkout@v6
77+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7878
with:
7979
persist-credentials: false
8080
- name: Ruby version

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
language: ["actions"]
1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v6
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
2323
persist-credentials: false
2424
- name: Initialize CodeQL

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
LDFLAGS: --coverage
2020
steps:
2121
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
22-
uses: actions/checkout@v6
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
with:
2424
persist-credentials: false
2525
- name: Ruby version
@@ -39,7 +39,7 @@ jobs:
3939
echo \`\`\`
4040
} > "$GITHUB_STEP_SUMMARY"
4141
- name: Upload coverage report
42-
uses: actions/upload-artifact@v7
42+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
4343
with:
4444
name: coverage-${{ github.sha }}
4545
path: coverage/

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
pull-requests: write
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/labeler@v6
12+
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
1313
with:
1414
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1515
sync-labels: true

.github/workflows/ls-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
name: Run ls-lint
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v6
14+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515
with:
1616
persist-credentials: false
17-
- uses: ls-lint/action@v2.3.1
17+
- uses: ls-lint/action@02e380fe8733d499cbfc9e22276de5085508a5bd # v2.3.1
1818
with:
1919
config: .github/linters/.ls-lint.yml

.github/workflows/oss-fuzz.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fuzz-seconds: 600
2121
dry-run: false
2222
- name: Upload Crash
23-
uses: actions/upload-artifact@v7
23+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
2424
if: failure()
2525
with:
2626
name: artifacts

.github/workflows/pre-commit-manual.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
15-
uses: actions/checkout@v6
15+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
with:
1717
persist-credentials: false
18-
- uses: j178/prek-action@v2
18+
- uses: j178/prek-action@53276d8b0d10f8b6672aa85b4588c6921d0370cc # v2.0.1
1919
with:
2020
install-only: true
2121
- name: Run manual pre-commit hooks

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
15-
uses: actions/checkout@v6
15+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
with:
1717
persist-credentials: false
18-
- uses: j178/prek-action@v2
18+
- uses: j178/prek-action@53276d8b0d10f8b6672aa85b4588c6921d0370cc # v2.0.1
1919
with:
2020
extra-args: --all-files

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
steps:
2121
- name: "Checkout ${{ github.ref_name }} ( ${{ github.sha }} )"
22-
uses: actions/checkout@v6
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
with:
2424
persist-credentials: false
2525
- name: Builds

.github/workflows/super-linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
18-
uses: actions/checkout@v6
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919
with:
2020
# Full git history is needed to get a proper list of changed files within `super-linter`
2121
fetch-depth: 0
2222
persist-credentials: false
2323
- name: Lint Code Base
24-
uses: super-linter/super-linter/slim@v8.6.0
24+
uses: super-linter/super-linter/slim@9e863354e3ff62e0727d37183162c4a88873df41 # v8.6.0
2525
env:
2626
# VALIDATE_BASH_EXEC: true
2727
VALIDATE_DOCKERFILE_HADOLINT: true

0 commit comments

Comments
 (0)