Skip to content

Commit 118e355

Browse files
committed
chore: pin GitHub Actions versions to commit hashes
This will help prevent attacks such as [this one](https://semgrep.dev/blog/2025/popular-github-action-tj-actionschanged-files-is-compromised/). Dependabot is able to update these versions automatically, and it will preserve the readable version comments.
1 parent 817d827 commit 118e355

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
- "3.12"
2020
- "3.13"
2121
steps:
22-
- uses: actions/checkout@v4
23-
- uses: actions/setup-python@v5
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
allow-prereleases: true

0 commit comments

Comments
 (0)