Skip to content

fix: add workflow_dispatch trigger to release-drafter#24

Merged
github-actions[bot] merged 1 commit into
developfrom
fix/release-drafter-dispatch
May 20, 2026
Merged

fix: add workflow_dispatch trigger to release-drafter#24
github-actions[bot] merged 1 commit into
developfrom
fix/release-drafter-dispatch

Conversation

@nolte
Copy link
Copy Markdown
Owner

@nolte nolte commented May 20, 2026

Summary

Add a workflow_dispatch trigger to .github/workflows/release-drafter.yml
so the draft release can be refreshed manually when the standard push trigger
gets skipped. Today, every merge that lands via automerge.yaml uses the
default GITHUB_TOKEN, and GitHub doesn't fire downstream workflows from a
token-driven push — so release-drafter hasn't run since 2026-04-22 even
though PRs #21, #22, and #23 have since merged to develop.

Changes

  • Add workflow_dispatch: to the on: block of release-drafter.yml.
  • Inline a short comment explaining the manual-fallback motivation
    (token-driven pushes don't trigger downstream workflows).

Linked issues

None

Testing

Risk / rollout notes

Low risk — adds a manual trigger to an existing workflow. The push trigger
stays the default path; workflow_dispatch is the documented manual fallback.
The root cause (GITHUB_TOKEN not firing downstream workflows from the
automerge action) is a separate upstream fix in nolte/gh-plumbing and is
out of scope for this PR.

The push-on-develop trigger misses commits when the merge lands via an
action that uses GITHUB_TOKEN (notably the automerge.yaml flow), because
GitHub doesn't fire downstream workflows from a token-driven push.
Adding workflow_dispatch lets the operator refresh the draft manually
with `gh workflow run release-drafter.yml --ref develop` whenever the
push-based run gets skipped.

The push trigger stays the default path; workflow_dispatch is the
documented manual fallback.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@boring-cyborg boring-cyborg Bot added chore Maintenance cicd ci/cd process functionality. labels May 20, 2026
@nolte nolte marked this pull request as ready for review May 20, 2026 17:54
@nolte nolte added the automerge Allow automatic Merge. label May 20, 2026
@github-actions github-actions Bot merged commit 2c3c8bc into develop May 20, 2026
10 checks passed
@github-actions github-actions Bot deleted the fix/release-drafter-dispatch branch May 20, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Allow automatic Merge. chore Maintenance cicd ci/cd process functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant