Skip to content

fix: dispatch release PR CI#117

Merged
haasonsaas merged 1 commit intomainfrom
codex/release-please-dispatch-ci-20260506
May 6, 2026
Merged

fix: dispatch release PR CI#117
haasonsaas merged 1 commit intomainfrom
codex/release-please-dispatch-ci-20260506

Conversation

@haasonsaas
Copy link
Copy Markdown
Contributor

Summary

  • allow ci.yml to be triggered with workflow_dispatch
  • let the release-please workflow dispatch CI for generated release PR branches when it falls back to GITHUB_TOKEN
  • document why this keeps Release Please PRs from getting stuck without normal pull_request events

Test plan

  • actionlint
  • python3 scripts/validate_release_metadata.py
  • python3 scripts/validate_pr_title.py 'fix: dispatch release PR CI'
  • git diff --check

@cursor
Copy link
Copy Markdown

cursor Bot commented May 6, 2026

PR Summary

Low Risk
Low risk: changes are limited to GitHub Actions workflow triggers/permissions and a new dispatch step; main risk is misconfigured permissions or branch parsing causing CI not to run for release PRs.

Overview
Release Please PRs now reliably get CI even when the workflow uses GITHUB_TOKEN (which may not emit follow-on pull_request events).

ci.yml is updated to support manual workflow_dispatch, and release-please.yml gains actions: write plus a step that parses Release Please’s created PR branches and runs gh workflow run ci.yml --ref <branch> for each. Documentation is updated to explain the GITHUB_TOKEN limitation and why the explicit dispatch is needed.

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

@haasonsaas haasonsaas merged commit 86fe765 into main May 6, 2026
4 checks passed
@haasonsaas haasonsaas deleted the codex/release-please-dispatch-ci-20260506 branch May 6, 2026 17:17
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