Skip to content

chore: fix release workflow dispatch repo resolution#2057

Merged
zeitlinger merged 1 commit intomainfrom
codex/fix-release-please-dispatch
Apr 27, 2026
Merged

chore: fix release workflow dispatch repo resolution#2057
zeitlinger merged 1 commit intomainfrom
codex/fix-release-please-dispatch

Conversation

@zeitlinger
Copy link
Copy Markdown
Member

What changed

Pass --repo "${GITHUB_REPOSITORY}" to the gh workflow run release.yml call in release-please.yml.

Why

The Release Please workflow dispatch step runs without a checkout, so gh cannot infer the repository from .git. The failed run for v1.6.0 stopped with fatal: not a git repository before release.yml was dispatched.

Impact

This allows the existing release workflow to be triggered from the Release Please job without adding an unnecessary checkout step.

Validation

  • Inspected the failing Actions job 73146303246 and confirmed the dispatch step was the failure point.
  • Verified comparable repositories commonly pass --repo explicitly when dispatching workflows from Actions.
  • Ran mise run lint locally.

Follow-up

After this lands, release.yml can be manually dispatched with tag=v1.6.0 to publish the existing tag.

Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
@zeitlinger zeitlinger changed the title [codex] Fix release workflow dispatch repo resolution chore: fix release workflow dispatch repo resolution Apr 27, 2026
@zeitlinger zeitlinger marked this pull request as ready for review April 27, 2026 07:46
@zeitlinger zeitlinger merged commit 29e9b01 into main Apr 27, 2026
10 of 11 checks passed
@zeitlinger zeitlinger deleted the codex/fix-release-please-dispatch branch April 27, 2026 08:14
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.

2 participants