Skip to content

chore: drop the release workflow#3

Merged
ccleberg merged 1 commit into
mainfrom
chore/drop-release-workflow
Jul 15, 2026
Merged

chore: drop the release workflow#3
ccleberg merged 1 commit into
mainfrom
chore/drop-release-workflow

Conversation

@ccleberg

Copy link
Copy Markdown
Member

The workflow turned a v* tag into an empty GitHub release. This is a library
with no binaries to attach, so that is precisely what the Releases button in the
UI already does — and releases are being cut in the UI, which creates the tag
itself.

It had also never once succeeded:

  • The two v0.3.1 runs failed with Resource not accessible by integration. The
    workflow had no permissions: block, so GITHUB_TOKEN was read-only and could
    not create a release. This is why v0.3.1 has a tag but no release. That
    permissions gap was fixed in b70d3dd (the CodeQL finding), so the v0.3.2 run
    got further.
  • The v0.3.2 run reached the API and failed with 422 Release.tag_name already exists — it raced the release published by hand moments earlier.

Nothing about publishing depends on this workflow: Go resolves tags through the
module proxy, not GitHub releases. v0.3.2 is already on proxy.golang.org
pointing at b80180e.

ci.yml and go.yml are untouched, so build, test, lint, and CodeQL still run
on every push and PR.

Worth knowing if it ever comes back: it passed github.ref, so the title
rendered as Release refs/tags/v0.3.2. It wants github.ref_name.

The workflow turned a v* tag into an empty GitHub release. For a library
with no binaries to attach, that is exactly what the Releases button in
the UI does, so it earned nothing and had never once succeeded: the
v0.3.1 runs were denied by a read-only GITHUB_TOKEN, and the v0.3.2 run
raced a release published by hand and got a 422.

Releases are cut in the UI, which also creates the tag. Go resolves tags
through the module proxy, so nothing about publishing depends on this.

Worth knowing if it ever comes back: it passed github.ref, so the title
rendered as "Release refs/tags/v0.3.2". It wants github.ref_name.
@ccleberg
ccleberg merged commit 971bdb3 into main Jul 15, 2026
9 checks passed
@ccleberg
ccleberg deleted the chore/drop-release-workflow branch July 15, 2026 22:42
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