Skip to content

Commit b3cb8c1

Browse files
committed
fix(release): pin reusable workflow to published commit
1 parent 64c1673 commit b3cb8c1

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
name: Release Please (reusable)
22
on:
33
workflow_call:
4-
inputs:
5-
release-type:
6-
description: "release-please release-type strategy"
7-
type: string
8-
default: simple
94
jobs:
105
release-please:
116
runs-on: ubuntu-latest
@@ -17,6 +12,5 @@ jobs:
1712
steps:
1813
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
1914
with:
20-
release-type: ${{ inputs.release-type }}
2115
config-file: release-please-config.json
2216
manifest-file: .release-please-manifest.json

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ jobs:
99
contents: write
1010
pull-requests: write
1111
issues: write
12-
uses: Coding-Autopilot-System/.github/.github/workflows/release-please-reusable.yml@f288e5e3b67b29a2c08880b76da7b852f4a132d0
12+
uses: ./.github/workflows/release-please-reusable.yml

docs/RELEASE_POLICY.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,12 @@ safety boundaries.
4141
and its default flow opens a review-gated "release PR" rather than tagging
4242
directly on every merge, which fits the existing two-party-review governance
4343
instead of fighting it.
44-
2. **Uniform `release-type: simple` across all 13 repos**, regardless of language
44+
2. **Uniform manifest `release-type: simple` across all 13 repos**, regardless of language
4545
(C#, Python, Node, PowerShell, docs-only). `simple` only manages a
4646
`CHANGELOG.md` + version manifest and never mutates a language-specific manifest
47-
file, avoiding 13 different per-language configurations.
47+
file, avoiding 13 different per-language configurations. The reusable action
48+
deliberately does not pass a `release-type` input, because release-please's
49+
manifest mode derives the strategy from each repository's config file.
4850
3. **Each repo keeps its own independent SemVer line** — not synced to the CAS
4951
portfolio milestone number (e.g. v1.5). gsd-orchestrator (already at v4.0.0) and
5052
cas-contracts (already at v1.1.1) already prove per-repo versioning is
@@ -65,4 +67,6 @@ safety boundaries.
6567
itself SHA-pinned, per the existing Phase 31 org action-pinning policy. Bumping
6668
the pinned release-please-action version later requires a deliberate, reviewed
6769
SHA update in each caller — the same accepted maintenance tradeoff Phase 31
68-
already established for direct action pins.
70+
already established for direct action pins. This repository calls its own
71+
reusable workflow with a relative path so that the caller and implementation
72+
are evaluated from the same reviewed commit.

0 commit comments

Comments
 (0)