Skip to content

Commit 5b6808d

Browse files
authored
gha: pin all workflows to hash (#355)
* gha: pin all workflows to hash * Update .github/workflows/labeler.yml * Update .github/workflows/labeler.yml * Update .github/workflows/labeler.yml * Update .github/workflows/labeler.yml
1 parent bf24673 commit 5b6808d

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/first-interaction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Welcome Message
17-
uses: actions/first-interaction@v3
17+
uses: actions/first-interaction@1c4688942c71f71d4f5502a26ea67c331730fa4d
1818
with:
1919
issue_message: |
2020
Thanks for opening this issue! We appreciate your contribution.

.github/workflows/labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: 🤖 Pull Request Labeler
33

44
on:
5-
- pull_request_target
5+
- pull_request_target # zizmor: ignore[dangerous-triggers]
66

77
permissions:
88
contents: read
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Pull Request Labeler
19-
uses: actions/labeler@v6
19+
uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b
2020
with:
2121
repo-token: '${{ secrets.GITHUB_TOKEN }}'
2222
configuration-path: '.github/labeler.yml'

.github/workflows/ls-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
name: 🏃🏼 Run linter
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v6
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
2020
with:
2121
persist-credentials: false
22-
- uses: ls-lint/action@v2.3.1
22+
- uses: ls-lint/action@02e380fe8733d499cbfc9e22276de5085508a5bd
2323
with:
2424
config: .github/linters/.ls-lint.yml

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ jobs:
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v6
16+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
1717
with:
1818
persist-credentials: false
1919

2020
- name: Set up Python
21-
uses: actions/setup-python@v6
21+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
2222
with:
2323
python-version: '3.13' # Specify your Python version
2424

2525
- name: Set Python Version Hash
2626
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> "$GITHUB_ENV"
2727

2828
- name: Cache pre-commit
29-
uses: actions/cache@v5
29+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306
3030
with:
3131
path: ~/.cache/pre-commit
3232
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}

.github/workflows/proselint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818

1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@v6
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
2222
with:
2323
persist-credentials: false
2424
- name: Set up Python
25-
uses: actions/setup-python@v6
25+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
2626
with:
2727
python-version: '3.8'
2828
- name: Install Proselint

.github/workflows/super-linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919

2020
steps:
2121
- name: Checkout code
22-
uses: actions/checkout@v6
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
2323
with:
2424
persist-credentials: false
2525
fetch-depth: 0 # super-linter needs the full git history for file changes across commits
2626

2727
- name: Super-Linter
28-
uses: super-linter/super-linter@v8.5.0 # x-release-please-version
28+
uses: super-linter/super-linter@61abc07d755095a68f4987d1c2c3d1d64408f1f9
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # To report GitHub Actions status checks

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- {os: windows-2022}
2626
steps:
2727
- name: 'Checkout ${{ github.ref }} ( ${{ github.sha }} )'
28-
uses: actions/checkout@v6
28+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
2929
with:
3030
persist-credentials: false
3131
fetch-depth: 0

0 commit comments

Comments
 (0)