-
Notifications
You must be signed in to change notification settings - Fork 164
Add release publishing workflow #868
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a GitHub Actions workflow to automate the creation of GitHub releases. The workflow can be manually triggered via workflow_dispatch and supports optional inputs for creating draft releases and specifying version numbers. If no version is provided, it automatically increments the patch version from the latest release.
Key changes:
- Added
publish-release.ymlworkflow with manual trigger support - Implemented automatic version calculation based on the latest release
- Integrated with GitHub App authentication for elevated permissions
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 6 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Testing secrets and permissions for #868.
|
Need to fix the secrets: |
| type: boolean | ||
| default: false | ||
| version: | ||
| description: "The optional version number to use for the release." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is used if not provided?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, it's minor bump - would still be good to document both here and in RELEASING.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's +1 the patch number of the current latest release if unspecified. The docs can have an overhaul once this is tested and working.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
a61b3f5 to
02745f2
Compare
Add a workflow that can be manually triggered to create a new GitHub release. Contributes to #846.
Use double quotes for YAML.
Make line shorter.
Adjust whitespace.
Add job to test the new GitHub app's permissions.
Remove the code for testing the token generation.
Add instructions for the new process.
Match convention for other workflows.
02745f2 to
ee1d100
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Add a workflow that can be manually triggered to create a new GitHub release.
The next stage of the automation would be to create a separate workflow that runs on a schedule, and then triggers this workflow through the GitHub API if there are relevant changes that need to be released.
Contributes to #846.