Skip to content

Fix tag release workflow dispatch - #788

Merged
haasonsaas merged 2 commits into
mainfrom
fix/tag-release-dispatch-repo
Jun 18, 2026
Merged

haasonsaas merged 2 commits into
mainfrom
fix/tag-release-dispatch-repo

Conversation

@haasonsaas

Copy link
Copy Markdown
Contributor

Summary

  • pass the explicit repository to the tag-release dispatch job active-run lookup
  • tighten the tag-release workflow regression test so gh run list cannot rely on cwd git metadata

Source-of-truth: evalops/maestro-internal#2791

Verification

  • node ./scripts/run-vitest.js --run test/workflows/tag-release.test.ts test/scripts/ci-guardrails.test.ts test/scripts/workflow-footguns.test.ts
  • bunx biome check test/workflows/tag-release.test.ts
  • npm run check:workflow-footguns
  • pre-commit release validators ran during commit

@cursor

cursor Bot commented Jun 18, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
CI-only change to GitHub Actions dispatch logic and its regression test; no application runtime or release artifact behavior changes beyond more reliable duplicate-run detection.

Overview
The dispatch-public-release job’s duplicate-release guard now passes --repo "${GITHUB_REPOSITORY}" to gh run list, matching the active-run check in tag-current-version so the lookup does not depend on the runner’s checkout/git context.

The tag-release workflow test was tightened to assert that gh run list includes that --repo flag (regex over the shell continuation), so regressions that only checked for gh run list without an explicit repository are caught.

Reviewed by Cursor Bugbot for commit 756f6f6. Bugbot is set up for automated code reviews on this repo. Configure here.

@haasonsaas
haasonsaas merged commit 2f8e0a9 into main Jun 18, 2026
13 checks passed
@haasonsaas
haasonsaas deleted the fix/tag-release-dispatch-repo branch June 18, 2026 06:23
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