Skip to content

Commit 7e5b595

Browse files
hugovkpganssle
authored andcommitted
Hash pin GitHub Actions
1 parent 4997cab commit 7e5b595

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/auto-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
contents: write
1515
steps:
1616
- name: Check out repository
17-
uses: actions/checkout@v6
17+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818

1919
- name: Get current version
2020
id: version

.github/workflows/check-for-updates.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ jobs:
3636
if: needs.check-pr-exists.outputs.pr_exists == 'false' # Run only if no PR exists
3737
steps:
3838
- name: Check out repository (shallow)
39-
uses: actions/checkout@v6
39+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4040
with:
4141
fetch-depth: 1 # Shallow clone to save time
4242

4343
- name: Set up Python 3.12
44-
uses: actions/setup-python@v6
44+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4545
with:
4646
python-version: '3.12'
4747

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
permissions:
2525
id-token: write
2626
steps:
27-
- uses: actions/checkout@v6
27+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2828
- name: Set up Python
29-
uses: actions/setup-python@v6
29+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3030
with:
3131
python-version: '3.x'
3232
- name: Install dependencies
@@ -44,12 +44,12 @@ jobs:
4444
tox -e build
4545
- name: Publish package (TestPyPI)
4646
if: github.event_name == 'push'
47-
uses: pypa/gh-action-pypi-publish@release/v1
47+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
4848
with:
4949
repository-url: https://test.pypi.org/legacy/
5050
verbose: true
5151
- name: Publish package
5252
if: github.event_name == 'release'
53-
uses: pypa/gh-action-pypi-publish@release/v1
53+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
5454
with:
5555
verbose: true

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
container:
2828
image: ${{ matrix.use-container && format('python:{0}', matrix.python-version) || '' }}
2929
steps:
30-
- uses: actions/checkout@v6
30+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3131
- if: ${{ !matrix.use-container }}
3232
name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }} (non-containers)
33-
uses: actions/setup-python@v6
33+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3434
with:
3535
python-version: ${{ matrix.python-version }}
3636
allow-prereleases: true
@@ -51,9 +51,9 @@ jobs:
5151
TOXENV: ${{ matrix.toxenv }}
5252

5353
steps:
54-
- uses: actions/checkout@v6
54+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5555
- name: ${{ matrix.toxenv }}
56-
uses: actions/setup-python@v6
56+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
5757
with:
5858
python-version: "3.x"
5959
- name: Install tox

0 commit comments

Comments
 (0)