-
Notifications
You must be signed in to change notification settings - Fork 15
ci: Add workflows for creating releases #3257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for nifty-bassi-e26446 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@copilot not a bad first attempt - but it could be a lot cleaner firstly - use the gh-actions/jq action for the version-file - it shoudl take an input of yaml - like actions: gh-actions/VERSION.txt
bins: BINS_VERSION.txt
etc(jq action outputs a outputs.value) next current-version should use gh-actions/bson dont use uses: peter-evans/create-pull-request@98357b1 # v8 use bson and gh same with other steps basically - either use jq or bson - and combine steps where possible |
Refactored in 966b6b7:
|
|
@copilot looks better - but there is a version action - i think we should use that |
|
@copilot it needs a dry run mode so it can be tested in a pr also name should be Release |
Added in 72dd372:
This allows testing the workflow in PRs without side effects. |
e4b9dea to
d39ce9d
Compare
Signed-off-by: Ryan Northey <ryan@synca.io>
d8bba99 to
5a5d885
Compare
Plan: Add release dispatch workflow
Final Implementation
The Release workflow (
.github/workflows/release-dispatch.yml) provides a manual trigger for version bumps using internal toolshed actions:Inputs:
actions,bins,bazel, orpythonActions used:
is_dev,next, and version component fields-devsuffixDry-run Mode:
When enabled, the workflow reads version information, updates the file locally (not committed), and displays a summary of what would happen without creating a PR. This allows safe testing in PRs without side effects.
The workflow leverages the existing
gh-actions/versionaction which provides intelligent version parsing, automatically calculating the next release version by stripping the-devsuffix when present.All linting passed ✅
All security checks passed ✅
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.