Skip to content

remove the release workflow's issue-annotation job - #343

Merged
dave-doty merged 1 commit into
devfrom
remove-issue-annotation-job
Aug 1, 2026
Merged

remove the release workflow's issue-annotation job#343
dave-doty merged 1 commit into
devfrom
remove-issue-annotation-job

Conversation

@dave-doty

Copy link
Copy Markdown
Member

Removes the last remaining issue-touching job from release.yml, per the
observation that GitHub already does the part that matters.

main is the default branch, so GitHub closes any issue referenced by a closing
keyword in the commits a release brings to main, and records the closing commit
on the issue — which is enough to trace back to the release.

That left the job doing two things not worth an action: posting a comment naming
the release, and removing the closed in dev label. Both are now gone.

Dropping them also removes a whole class of failure. The job had to decide, for
every number its regex matched, whether it was an issue, a pull request, or
nonexistent — and it got that wrong in the v0.21.1 release, where it tried to
comment on a pull request (matched from an illustrative "fixes #123" in a
commit message) and failed with Resource not accessible by integration.

release.yml is now two jobs: create the release, publish to PyPI.

The label

It is never removed now, so it accumulates on closed issues. That is fine —
is:open label:"closed in dev"
still finds exactly the fixes that are merged but not yet released, because
released ones are closed. CONTRIBUTING.md documents this.

Adding the label on pushes to dev is unchanged.

GitHub already does the only part that matters. main is the default branch, so
it closes any issue referenced by a closing keyword in the commits a release
brings to main, and records the closing commit on the issue -- which is enough
to find the release that fixed it.

That left the job doing two things not worth an action: posting a comment naming
the release, and removing the "closed in dev" label. Dropping both also removes
a class of failure: the job had to reason about whether each matched number was
an issue, a pull request, or nonexistent, and got it wrong in the v0.21.1
release, where it tried to comment on a pull request and failed.

The label is now never removed, which is fine: `is:open label:"closed in dev"`
still finds exactly the fixes that are merged but not yet released, because
released ones are closed.

Adding the label on pushes to dev is unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@dave-doty
dave-doty merged commit b8b85fe into dev Aug 1, 2026
8 checks passed
@dave-doty
dave-doty deleted the remove-issue-annotation-job branch August 1, 2026 18:37
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