Skip to content

Commit 8cef4e2

Browse files
Pin GitHub Actions to full-length commit SHAs (#5)
1 parent cc35da9 commit 8cef4e2

4 files changed

Lines changed: 11 additions & 9 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ updates:
3535
- "*"
3636
update-types:
3737
- "major"
38+
cooldown:
39+
default-days: 7

‎.github/workflows/_lint.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
# a lint/type issue that doesn't show up on the boundaries.
2222
python-version: ["3.9", "3.13"]
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2525

26-
- uses: actions/setup-python@v5
26+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929
cache: pip

‎.github/workflows/_test.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
os: [ubuntu-latest, windows-latest, macos-latest]
1717
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2020

21-
- uses: actions/setup-python@v5
21+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424
cache: pip

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
name: Build distribution
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
1717

1818
- name: Set up Python
19-
uses: actions/setup-python@v5
19+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2020
with:
2121
python-version: "3.11"
2222

@@ -31,7 +31,7 @@ jobs:
3131
twine check dist/*
3232
3333
- name: Upload build artifacts
34-
uses: actions/upload-artifact@v4
34+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3535
with:
3636
name: dist
3737
path: dist/
@@ -49,10 +49,10 @@ jobs:
4949
id-token: write
5050
steps:
5151
- name: Download build artifacts
52-
uses: actions/download-artifact@v4
52+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
5353
with:
5454
name: dist
5555
path: dist/
5656

5757
- name: Publish to PyPI
58-
uses: pypa/gh-action-pypi-publish@release/v1
58+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2

0 commit comments

Comments
 (0)