ci: add automated release workflow - #78
Open
zimeg wants to merge 9 commits into
Open
Conversation
Opens and maintains a release PR that bumps the $ref version in manifest.schema.json, modelled on slack-cli's release workflow. The workflow decides the next semver version from semver:* labels on PRs merged since the latest tag, rewrites the pinned $ref URLs, commits 'version X.Y.Z', tags it, and opens/updates a draft PR from the rc branch. Mutating steps are gated on the GH_APP_ID secret and skip on pull_request events, so the workflow can run in dry-run mode for testing before the GitHub App secrets are added. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The workflow now always uses the GitHub App token. The pull_request trigger is kept temporarily for testing and will be removed before merge. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Use the slackapi[bot] user's numeric id (186980925) for the commit email, matching java-slack-sdk-runner, and scope the App token to this repository. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Rewrite the Production Deployment section to describe the release PR flow: label PRs with semver:*, then review and merge the generated release candidate. Refine the workflow comments alongside. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Abort the version decision if a PR label lookup fails, rather than silently under-bumping to patch. - Clarify the tag-lookup and PR-scan comments. - Point the maintainers guide at the PRs behind main's commits for semver labels. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR automates the release process using a "changesets" inspired PR flow 🚀 ✨
Preview
#81
Category
Requirements
./scripts/install_all_and_run_tests.shafter making the changes.