Skip to content

Fix the reusable workflows' self-checkout - #2

Merged
lorisleiva merged 1 commit into
mainfrom
fix/reusable-workflow-self-checkout
Aug 28, 2026
Merged

Fix the reusable workflows' self-checkout#2
lorisleiva merged 1 commit into
mainfrom
fix/reusable-workflow-self-checkout

Conversation

@lorisleiva

Copy link
Copy Markdown
Member

This PR fixes the first rehearsal finding: github.job_workflow_ref is an OIDC claim, not a github context property, so it evaluated empty and the release-tools checkout silently synced the caller repository instead. The workflows now check out codama-idl/release-tools at github.job_workflow_sha — the exact commit of the reusable workflow file — which also preserves callers' tag pinning.

@lorisleiva
lorisleiva merged commit 94ab387 into main Aug 28, 2026
@lorisleiva
lorisleiva deleted the fix/reusable-workflow-self-checkout branch August 28, 2026 11:25
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