Skip to content

Create GitHub release on tag push - #69

Merged
andrew merged 3 commits into
mainfrom
release-workflow
Aug 17, 2026
Merged

Create GitHub release on tag push#69
andrew merged 3 commits into
mainfrom
release-workflow

Conversation

@andrew

@andrew andrew commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Runs gh release create with --generate-notes when a v* tag is pushed, so tags and release pages stay in sync without a manual step. Uses only the runner-bundled gh CLI, no third-party actions. Fails rather than overwrites if a release already exists at the tag.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an automated GitHub Actions workflow to create GitHub Releases whenever a v* tag is pushed, keeping tags and release pages synchronized without manual intervention.

Changes:

  • Introduces a new Release workflow triggered on push events for tags matching v*.
  • Uses the runner-bundled gh CLI to run gh release create with --generate-notes.
  • Grants the workflow token permissions to write repository contents in order to create the release.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/release.yml Outdated
Comment thread .github/workflows/release.yml Outdated
runs-on: ubuntu-latest
steps:
- name: Create release
run: gh release create "$TAG" --repo "$GITHUB_REPOSITORY" --title "$TAG" --generate-notes
@andrew
andrew merged commit 4b0d14a into main Aug 17, 2026
5 checks passed
@andrew
andrew deleted the release-workflow branch August 17, 2026 17:40
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.

2 participants