Skip to content

Commit 4959b4f

Browse files
authored
Merge branch 'master' into zizmor
2 parents ace24b9 + e3b2209 commit 4959b4f

5 files changed

Lines changed: 17 additions & 12 deletions

File tree

.github/dependabot.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,9 @@ updates:
77
groups:
88
actions:
99
patterns:
10-
- "*"
10+
- "*"
11+
cooldown:
12+
# https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns
13+
# Cooldowns protect against supply chain attacks by avoiding the
14+
# highest-risk window immediately after new releases.
15+
default-days: 14

.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
with:
1919
persist-credentials: false
2020

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

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

4848
- name: Set up Python 3.12
49-
uses: actions/setup-python@v6
49+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
5050
with:
5151
python-version: '3.12'
5252

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
permissions:
2525
id-token: write
2626
steps:
27-
- uses: actions/checkout@v6
27+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2828
with:
2929
persist-credentials: false
3030
- name: Set up Python
31-
uses: actions/setup-python@v6
31+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3232
with:
3333
python-version: '3.x'
3434
- name: Install dependencies
@@ -46,12 +46,12 @@ jobs:
4646
tox -e build
4747
- name: Publish package (TestPyPI)
4848
if: github.event_name == 'push'
49-
uses: pypa/gh-action-pypi-publish@release/v1
49+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
5050
with:
5151
repository-url: https://test.pypi.org/legacy/
5252
verbose: true
5353
- name: Publish package
5454
if: github.event_name == 'release'
55-
uses: pypa/gh-action-pypi-publish@release/v1
55+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
5656
with:
5757
verbose: true

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
container:
3030
image: ${{ matrix.use-container && format('python:{0}', matrix.python-version) || '' }} # zizmor: ignore[unpinned-images]
3131
steps:
32-
- uses: actions/checkout@v6
32+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3333
with:
3434
persist-credentials: false
3535
- if: ${{ !matrix.use-container }}
3636
name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }} (non-containers)
37-
uses: actions/setup-python@v6
37+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3838
with:
3939
python-version: ${{ matrix.python-version }}
4040
allow-prereleases: true
@@ -55,11 +55,11 @@ jobs:
5555
TOXENV: ${{ matrix.toxenv }}
5656

5757
steps:
58-
- uses: actions/checkout@v6
58+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5959
with:
6060
persist-credentials: false
6161
- name: ${{ matrix.toxenv }}
62-
uses: actions/setup-python@v6
62+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
6363
with:
6464
python-version: "3.x"
6565
- name: Install tox

0 commit comments

Comments
 (0)