Skip to content

Commit fd9d03d

Browse files
committed
Pin GitHub Actions to commit SHAs for supply chain security
1 parent 1e6a51a commit fd9d03d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
contents: read
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2323

2424
- name: Set up Python
25-
uses: actions/setup-python@v3
25+
uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3
2626
with:
2727
python-version: '3.10'
2828

@@ -35,4 +35,4 @@ jobs:
3535
run: python -m build
3636

3737
- name: Publish package
38-
uses: pypa/gh-action-pypi-publish@release/v1
38+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2020

2121
- name: Set up Python
22-
uses: actions/setup-python@v5
22+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
2323
with:
2424
python-version: "3.10"
2525
cache: "pip" # caching pip dependencies

0 commit comments

Comments
 (0)