Skip to content

ci: bump release-drafter to v7.3.0 and drop pull_request trigger#83

Merged
amcheste merged 1 commit into
developfrom
chore/release-drafter-v7
May 12, 2026
Merged

ci: bump release-drafter to v7.3.0 and drop pull_request trigger#83
amcheste merged 1 commit into
developfrom
chore/release-drafter-v7

Conversation

@amcheste-ai-agent
Copy link
Copy Markdown
Contributor

Family-wide fix following engineering-handbook#18 and repo-template#13.

Why

release-drafter v7 changed how target_commitish is resolved on pull_request events:

  • v6 fell back to the configured default branch.
  • v7 passes GITHUB_REF through unchanged. On a PR event, that's refs/pull/N/merge — which the GitHub Releases API rejects (target must be a branch or commit SHA).

Result: the action fails on every PR with Validation Failed: target_commitish (or runs silently broken on v7 if no v6 dependabot bump surfaced it yet).

Two changes

  1. Remove pull_request: from on:. v7 split autolabeling into a separate action (release-drafter/release-drafter/autolabeler@v7). The drafter step only needs push events on develop/main.
  2. Pin to v7.3.0 (idempotent if already there).

Family-wide fix following amcheste/engineering-handbook#18.

release-drafter v7 changed how target_commitish is resolved on
pull_request events: v6 fell back to the configured default branch,
v7 passes GITHUB_REF through unchanged (refs/pull/N/merge on a PR
event). The Releases API rejects that value, so the action fails on
every PR.

v7 also moved autolabeling into a separate action, so the drafter
step only needs push events on develop/main.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: amcheste <13696614+amcheste@users.noreply.github.com>
@amcheste-ai-agent amcheste-ai-agent Bot requested a review from amcheste as a code owner May 12, 2026 01:22
@github-actions github-actions Bot added the ci label May 12, 2026
@amcheste amcheste merged commit 130489d into develop May 12, 2026
7 checks passed
@amcheste amcheste deleted the chore/release-drafter-v7 branch May 12, 2026 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants