-
Notifications
You must be signed in to change notification settings - Fork 46
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
automated release process #297
Merged
Merged
Conversation
This file contains 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
gasparnagy
force-pushed
the
automated_release_process
branch
from
November 6, 2024 09:35
1c02d5c
to
94e823b
Compare
gasparnagy
had a problem deploying
to
production_environment
November 6, 2024 11:01 — with
GitHub Actions
Failure
gasparnagy
temporarily deployed
to
production_environment
November 6, 2024 12:01 — with
GitHub Actions
Inactive
gasparnagy
had a problem deploying
to
production_environment
November 6, 2024 12:47 — with
GitHub Actions
Failure
gasparnagy
temporarily deployed
to
production_environment
November 6, 2024 13:07 — with
GitHub Actions
Inactive
gasparnagy
temporarily deployed
to
production_environment
November 6, 2024 16:25 — with
GitHub Actions
Inactive
ajeckmans
approved these changes
Nov 6, 2024
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.
I read through the pipeline and although it is a bit long with all of the scripts inside it is doable.
The documentation part makes sense, so it looks good to me :)
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.
🤔 What's changed?
The GitHub workflows are modified to allow automated releases for people having permission for it.
The protection is performed though the environment
production_environment
that requires manual approval and can be used only frommain
branch. This environment contains the nuget.org publish key as well.In addition to publishing the packages to nuget.org, it also creates a GitHub release as well for each production (non-preview) release that is deployed.
Also the PR performs an automatic "version bump" and adds a new section to the CHANGELOG.md after publishing a production release. This is committed / pushed back to the repository.
The Git push is secured with a special deployment key that is registered to the project at https://github.com/reqnroll/Reqnroll/settings/keys. The private key (that is required to initiate the push) is stored as a secret in the environment
production_environment
.⚡️ What's your motivation?
🏷️ What kind of change is this?
♻️ Anything particular you want feedback on?
📋 Checklist:
This text was originally taken from the template of the Cucumber project, then edited by hand. You can modify the template here.