Skip to content

Commit 5d64fe7

Browse files
authored
SEC-178: pin GitHub Action refs to full SHAs (#5)
Pins actions/checkout@v6 and actions/setup-python@v6 in ci.yml and publish.yml to the full commit SHAs of the v6 tags as of 2026-04-21. Required before the org-wide sha_pinning_required policy (rootlyhq/terraform-rootly#891) lands; otherwise this repo's CI would fail validation at the "Set up job" step on first run after apply. SHAs: actions/checkout@v6 -> de0fac2e4500dabe0009e67214ff5f5447ce83dd actions/setup-python@v6 -> a309ff8b426b58ec0e2a45f0f869d46889d02405 Linear: SEC-178 (follow-up to SEC-89).
1 parent 808ad29 commit 5d64fe7

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
lint:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v6
13+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1414

1515
- name: Set up Python
16-
uses: actions/setup-python@v6
16+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
1717
with:
1818
python-version: '3.12'
1919

@@ -35,10 +35,10 @@ jobs:
3535
matrix:
3636
python-version: ['3.10', '3.11', '3.12']
3737
steps:
38-
- uses: actions/checkout@v6
38+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3939

4040
- name: Set up Python ${{ matrix.python-version }}
41-
uses: actions/setup-python@v6
41+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
4242
with:
4343
python-version: ${{ matrix.python-version }}
4444

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v6
13+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1414

1515
- name: Set up Python
16-
uses: actions/setup-python@v6
16+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
1717
with:
1818
python-version: '3.12'
1919

0 commit comments

Comments
 (0)