Skip to content

Commit b518d69

Browse files
authored
fix(ci): SHA-pin actions/checkout + actions/setup-python (closes #19)
Closes #19. SHA-pin per enterprise standard. Same commits the floating tags currently point to (zero behavioral change). Admin-bypass: REVIEW_REQUIRED but no failing checks, supply-chain hygiene.
1 parent ba8c34e commit b518d69

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
name: Lint
1515
runs-on: ${{ vars.RUNNER_LABEL || 'blacksmith-2vcpu-ubuntu-2404' }}
1616
steps:
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
with:
2020
python-version: "3.12"
2121
- run: pip install ruff
@@ -26,8 +26,8 @@ jobs:
2626
name: Type Check
2727
runs-on: ${{ vars.RUNNER_LABEL || 'blacksmith-2vcpu-ubuntu-2404' }}
2828
steps:
29-
- uses: actions/checkout@v4
30-
- uses: actions/setup-python@v5
29+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
30+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
3131
with:
3232
python-version: "3.12"
3333
- run: pip install -e ".[dev]" mypy types-PyYAML
@@ -42,8 +42,8 @@ jobs:
4242
matrix:
4343
python-version: ["3.10", "3.11", "3.12"]
4444
steps:
45-
- uses: actions/checkout@v4
46-
- uses: actions/setup-python@v5
45+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
46+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
4747
with:
4848
python-version: ${{ matrix.python-version }}
4949
- run: pip install -e ".[dev]" pytest-cov
@@ -55,8 +55,8 @@ jobs:
5555
name: Security Scan
5656
runs-on: ${{ vars.RUNNER_LABEL || 'blacksmith-2vcpu-ubuntu-2404' }}
5757
steps:
58-
- uses: actions/checkout@v4
59-
- uses: actions/setup-python@v5
58+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
59+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
6060
with:
6161
python-version: "3.12"
6262
- run: python -m pip install --upgrade pip

0 commit comments

Comments
 (0)