Skip to content

Commit f3ba100

Browse files
authored
chore(github-actions): pin reqstool/.github references to 1.0.0 (#106)
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 1885b15 commit f3ba100

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
@@ -69,19 +69,19 @@ jobs:
6969
# these 4 in sync when bumping (install-reqstool, validate-reqstool,
7070
# reqstool-status, and the validate-openspec job's workflow ref further down).
7171
- name: Install reqstool
72-
uses: reqstool/.github/.github/actions/install-reqstool@74cc3ac55a476258898db82c69a78eeaabb2fcbc # main 2026-06-24
72+
uses: reqstool/.github/.github/actions/install-reqstool@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0
7373
with:
7474
reqstool-source: ${{ matrix.reqstool-source }}
7575
- name: Validate reqstool spec completeness
7676
# not yet available in the latest PyPI release; supplementary to (not a
7777
# replacement for) the `reqstool status --fail-if-incomplete` gate below, which
7878
# is the actual required check, run unconditionally on both matrix legs
7979
if: matrix.reqstool-source == 'main'
80-
uses: reqstool/.github/.github/actions/validate-reqstool@74cc3ac55a476258898db82c69a78eeaabb2fcbc # main 2026-06-24
80+
uses: reqstool/.github/.github/actions/validate-reqstool@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0
8181
- name: Run reqstool status
8282
# Required gate on both matrix legs -- fails the build unless every
8383
# requirement is implemented and verified.
84-
uses: reqstool/.github/.github/actions/reqstool-status@74cc3ac55a476258898db82c69a78eeaabb2fcbc # main 2026-06-24
84+
uses: reqstool/.github/.github/actions/reqstool-status@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0
8585
with:
8686
fail-if-incomplete: "true"
8787
# Upload artifacts for later use
@@ -93,4 +93,4 @@ jobs:
9393
path: dist/
9494

9595
validate-openspec:
96-
uses: reqstool/.github/.github/workflows/common-validate-openspec.yml@74cc3ac55a476258898db82c69a78eeaabb2fcbc # main 2026-06-24
96+
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
@@ -8,4 +8,4 @@ permissions:
88

99
jobs:
1010
check:
11-
uses: reqstool/.github/.github/workflows/common-check-semantic-pr.yml@main
11+
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)