Skip to content

ci: pin release tag_name's target_commitish to the triggering commit - #149

Merged
so5 merged 1 commit into
RIKEN-RCCS:maintenance2023from
so5:backport/release-target-commitish-maintenance2023
Sep 23, 2026
Merged

so5 merged 1 commit into
RIKEN-RCCS:maintenance2023from
so5:backport/release-target-commitish-maintenance2023

Conversation

@so5

@so5 so5 commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

Backports #148's fix to maintenance2023's own copy of build_and_deploy.yml: without an explicit target_commitish, softprops/action-gh-release's tag_name creates a new tag defaulted to the repository's default branch (main), not the branch this workflow actually ran on - which silently mis-targeted this branch's release tag at main instead of maintenance2023's own commit (caught right after backporting the release-labeling scheme in #146).

Change

Add target_commitish: ${{ github.sha }} to the release step.

🤖 Generated with Claude Code

https://claude.ai/code/session_01C3jKNM1qubomM8UTRdkEWu

Same fix as RIKEN-RCCS#148 on main, backported here: without an
explicit target_commitish, softprops/action-gh-release's tag_name creates
a new tag defaulted to the repository's default branch (main), not the
branch this workflow actually ran on - silently mis-targeting this
branch's release tags at main instead of maintenance2023's own commits.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C3jKNM1qubomM8UTRdkEWu
@so5
so5 merged commit 9a8913e into RIKEN-RCCS:maintenance2023 Sep 23, 2026
@so5
so5 deleted the backport/release-target-commitish-maintenance2023 branch September 23, 2026 04:38
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