Skip to content

Commit d2d825c

Browse files
jimisolaJimisola Laursen
andauthored
build: SHA-pin GitHub Actions for supply-chain security (#75)
* 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> * build: remove shared workflow SHA pin Revert check-semantic-pr.yml — shared workflow pinning will be handled separately via semver tagging of the .github repo. Signed-off-by: jimisola <jimisola@jimisola.com> --------- Signed-off-by: jimisola <jimisola@jimisola.com> Co-authored-by: Jimisola Laursen <jimisola.laursen@resurs.se>
1 parent bf9c792 commit d2d825c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish_pypi_prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ jobs:
3232
path: dist
3333
- name: Publish distribution 📦 to PyPI
3434
# if: startsWith(github.ref, 'refs/tags')
35-
uses: pypa/gh-action-pypi-publish@release/v1
35+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
3636
with:
3737
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)