Skip to content

Commit 0cda2a6

Browse files
authored
chore(github-actions): pin reqstool/.github references to 1.0.0 (#95)
Replaces a mix of @main and @<sha> # main <date> with a single shape: @<sha> # 1.0.0, against reqstool/.github's first tag. @main is mutable, so CodeQL's actions/unpinned-tag flags it and any change to the shared workflows reaches this repo with no review -- which bit twice this week while the PyPI publish path was being fixed. A bare tag would still be mutable; the sha-with-version-comment form satisfies the pinning audits while letting Renovate track the digest and rewrite the comment, so the pin does not rot. Implements reqstool/.github#25. Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>
1 parent b665f04 commit 0cda2a6

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/build-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ permissions:
1515

1616
jobs:
1717
build:
18-
uses: reqstool/.github/.github/workflows/common-build-docs.yml@main
18+
uses: reqstool/.github/.github/workflows/common-build-docs.yml@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,19 @@ jobs:
6868
# cleaning build/, move the pytest output dir outside of it.
6969
run: hatch run dev:python scripts/generate_annotations.py
7070
- name: Install reqstool
71-
uses: reqstool/.github/.github/actions/install-reqstool@9c6feaab046f4782f430dd2527fdb82c2a5cd926 # main 2026-06-22
71+
uses: reqstool/.github/.github/actions/install-reqstool@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0
7272
with:
7373
reqstool-source: ${{ matrix.reqstool-source }}
7474
- name: Validate reqstool spec completeness
7575
# not yet available in the latest PyPI release; supplementary to (not a
7676
# replacement for) the `reqstool status --fail-if-incomplete` gate below, which
7777
# is the actual required check on the pypi leg
7878
if: matrix.reqstool-source == 'main'
79-
uses: reqstool/.github/.github/actions/validate-reqstool@9c6feaab046f4782f430dd2527fdb82c2a5cd926 # main 2026-06-22
79+
uses: reqstool/.github/.github/actions/validate-reqstool@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0
8080
- name: Run reqstool status
8181
# Required gate on both matrix legs -- fails the build unless every
8282
# requirement is implemented and verified.
83-
uses: reqstool/.github/.github/actions/reqstool-status@9c6feaab046f4782f430dd2527fdb82c2a5cd926 # main 2026-06-22
83+
uses: reqstool/.github/.github/actions/reqstool-status@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0
8484
with:
8585
fail-if-incomplete: "true"
8686
# Upload artifacts for later use
@@ -92,4 +92,4 @@ jobs:
9292
path: dist/
9393

9494
validate-openspec:
95-
uses: reqstool/.github/.github/workflows/common-validate-openspec.yml@9c6feaab046f4782f430dd2527fdb82c2a5cd926 # main 2026-06-22
95+
uses: reqstool/.github/.github/workflows/common-validate-openspec.yml@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0

.github/workflows/check-semantic-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ permissions:
1010

1111
jobs:
1212
check:
13-
uses: reqstool/.github/.github/workflows/common-check-semantic-pr.yml@main
13+
uses: reqstool/.github/.github/workflows/common-check-semantic-pr.yml@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ permissions:
4141

4242
jobs:
4343
prepare:
44-
uses: reqstool/.github/.github/workflows/common-release-prepare.yml@main
44+
uses: reqstool/.github/.github/workflows/common-release-prepare.yml@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0
4545
permissions:
4646
contents: read
4747
with:
@@ -67,7 +67,7 @@ jobs:
6767
tag:
6868
needs: [prepare, checks]
6969
if: ${{ !inputs.dry-run }}
70-
uses: reqstool/.github/.github/workflows/common-release-tag.yml@main
70+
uses: reqstool/.github/.github/workflows/common-release-tag.yml@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0
7171
permissions:
7272
contents: write
7373
with:
@@ -88,7 +88,7 @@ jobs:
8888

8989
assets:
9090
needs: [prepare, build-tagged]
91-
uses: reqstool/.github/.github/workflows/common-release-assets.yml@main
91+
uses: reqstool/.github/.github/workflows/common-release-assets.yml@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0
9292
permissions:
9393
contents: write
9494
with:
@@ -109,7 +109,7 @@ jobs:
109109
permissions:
110110
id-token: write
111111
steps:
112-
- uses: reqstool/.github/.github/actions/download-dists@ef815eae0bca7160cdc714126cac73f76d638b39 # main 2026-08-23
112+
- uses: reqstool/.github/.github/actions/download-dists@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0
113113
with:
114114
artifact: dist-tagged
115115
# Inline, not inside download-dists: nesting this Docker action in a
@@ -131,7 +131,7 @@ jobs:
131131
promote:
132132
needs: [prepare, assets, publish-to-pypi]
133133
if: ${{ !inputs.dry-run && !cancelled() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }}
134-
uses: reqstool/.github/.github/workflows/common-release-promote.yml@main
134+
uses: reqstool/.github/.github/workflows/common-release-promote.yml@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0
135135
permissions:
136136
contents: write
137137
with:

0 commit comments

Comments
 (0)