Skip to content

fix: check out release scripts at caller-pinned ref - #9

Merged
dilettacal merged 1 commit into
mainfrom
fix/reusable-release-ref
Oct 31, 2026
Merged

dilettacal merged 1 commit into
mainfrom
fix/reusable-release-ref

Conversation

@dilettacal

Copy link
Copy Markdown
Owner

Problem

  • publish-release.yml checks out .shared-workflows at github.workflow_sha
  • Under workflow_call that is the caller's commit → not our ref (seen in dilettacal/glowing-job-scrapers)

Fix

  • New optional input workflows-ref; checkout uses inputs.workflows-ref || github.workflow_sha
  • Example caller: passes workflows-ref, grants pull-requests: write
  • README + CHANGELOG updated

🤖 Generated with Claude Code

Under workflow_call, github.workflow_sha is the caller's commit, so the
.shared-workflows checkout failed with "not our ref" in consumer repos.
Add an optional workflows-ref input (falls back for self-dispatch) and
grant pull-requests: write in the release caller example.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dilettacal
dilettacal merged commit b1da654 into main Oct 31, 2026
5 checks passed
@dilettacal
dilettacal deleted the fix/reusable-release-ref branch October 31, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant