Skip to content

Commit b918fe5

Browse files
author
Jimisola Laursen
committed
build: SHA-pin GitHub Actions for supply-chain security
Pin external action references to exact commit SHAs instead of branch or major-version tags to prevent supply-chain attacks. Signed-off-by: jimisola <jimisola@jimisola.com>
1 parent a2ba626 commit b918fe5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/check-semantic-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ on:
55

66
jobs:
77
check:
8-
uses: reqstool/.github/.github/workflows/check-semantic-pr.yml@main
8+
uses: reqstool/.github/.github/workflows/check-semantic-pr.yml@33502e31f66fb7e982f48f50e3c6c29b0410a017 # main 2026-03-07

.github/workflows/publish_pypi_prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
path: dist
3232
- name: Publish distribution 📦 to PyPI
3333
# if: startsWith(github.ref, 'refs/tags')
34-
uses: pypa/gh-action-pypi-publish@release/v1
34+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
3535
with:
3636
sign-artifacts: true

.github/workflows/publish_pypi_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
name: dist
2929
path: dist
3030
- name: Publish distribution 📦 to Test PyPI
31-
uses: pypa/gh-action-pypi-publish@release/v1
31+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
3232
with:
3333
repository-url: https://test.pypi.org/legacy/
3434
sign-artifacts: true

0 commit comments

Comments
 (0)