Skip to content

Commit 3e12d5f

Browse files
committed
Pin GitHub Actions to commit SHAs for supply chain security
1 parent 2cba136 commit 3e12d5f

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/cibuildwheel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- 'prerelease-v[0-9]+.[0-9]+.[0-9]+**'
1010
jobs:
1111
build_wheels:
12-
uses: explosion/gha-cibuildwheel/.github/workflows/cibuildwheel.yml@main
12+
uses: explosion/gha-cibuildwheel/.github/workflows/cibuildwheel.yml@d0d89c035a9cd4b9b847b179c88508d7cbee965f # main
1313
permissions:
1414
contents: write
1515
actions: read

.github/workflows/explosionbot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
env:
1515
GITHUB_CONTEXT: ${{ toJson(github) }}
1616
run: echo "$GITHUB_CONTEXT"
17-
- uses: actions/checkout@v4
18-
- uses: actions/setup-python@v5
17+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
18+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
1919
- name: Install and run explosion-bot
2020
run: |
2121
pip install git+https://${{ secrets.EXPLOSIONBOT_TOKEN }}@github.com/explosion/explosion-bot

.github/workflows/issue-manager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
issue-manager:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: tiangolo/issue-manager@0.4.0
18+
- uses: tiangolo/issue-manager@4d1b7e05935a404dc8337d30bd23be46be8bb8e5 # 0.4.0
1919
with:
2020
token: ${{ secrets.GITHUB_TOKEN }}
2121
config: >

.github/workflows/publish_pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
# or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
2222
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
2323
steps:
24-
- uses: robinraju/release-downloader@v1
24+
- uses: robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1
2525
with:
2626
tag: ${{ github.event.release.tag_name }}
2727
fileName: '*'
2828
out-file-path: 'dist'
29-
- uses: pypa/gh-action-pypi-publish@release/v1
29+
- uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242

4343
steps:
4444
- name: Check out repo
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4646

4747
- name: Configure Python version
48-
uses: actions/setup-python@v5
48+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
4949
with:
5050
python-version: ${{ matrix.python_version }}
5151

0 commit comments

Comments
 (0)