Skip to content

Commit 388d210

Browse files
authored
chore(github-actions): pin reqstool/.github references to 1.0.0 (#181)
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 4d04a03 commit 388d210

4 files changed

Lines changed: 10 additions & 10 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,17 +68,17 @@ jobs:
6868
target/generated-test-sources/test-annotations/resources/annotations.yml \
6969
target/reqstool/annotations.yml
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
7676
if: matrix.reqstool-source == 'main'
77-
uses: reqstool/.github/.github/actions/validate-reqstool@9c6feaab046f4782f430dd2527fdb82c2a5cd926 # main 2026-06-22
77+
uses: reqstool/.github/.github/actions/validate-reqstool@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0
7878
- name: Run reqstool status
79-
uses: reqstool/.github/.github/actions/reqstool-status@9c6feaab046f4782f430dd2527fdb82c2a5cd926 # main 2026-06-22
79+
uses: reqstool/.github/.github/actions/reqstool-status@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0
8080
with:
8181
fail-if-incomplete: "true"
8282

8383
validate-openspec:
84-
uses: reqstool/.github/.github/workflows/common-validate-openspec.yml@9c6feaab046f4782f430dd2527fdb82c2a5cd926 # main 2026-06-22
84+
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
@@ -12,4 +12,4 @@ permissions:
1212

1313
jobs:
1414
check:
15-
uses: reqstool/.github/.github/workflows/common-check-semantic-pr.yml@main
15+
uses: reqstool/.github/.github/workflows/common-check-semantic-pr.yml@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0

.github/workflows/release.yml

Lines changed: 4 additions & 4 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:
@@ -80,7 +80,7 @@ jobs:
8080
# `version` makes a disagreement a hard stop before anything reaches Central.
8181
publish-to-maven-central:
8282
needs: [prepare, tag]
83-
uses: reqstool/.github/.github/workflows/java-publish-to-maven.yml@main
83+
uses: reqstool/.github/.github/workflows/java-publish-to-maven.yml@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0
8484
permissions:
8585
contents: read
8686
packages: write
@@ -106,7 +106,7 @@ jobs:
106106
promote:
107107
needs: [prepare, publish-to-maven-central]
108108
if: ${{ !inputs.dry-run && !cancelled() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }}
109-
uses: reqstool/.github/.github/workflows/common-release-promote.yml@main
109+
uses: reqstool/.github/.github/workflows/common-release-promote.yml@ef815eae0bca7160cdc714126cac73f76d638b39 # 1.0.0
110110
permissions:
111111
contents: write
112112
with:

0 commit comments

Comments
 (0)