Updates the release process to run automatically and fully with new OpenSearch project rules.#6921
Open
dlvenable wants to merge 1 commit into
Open
Conversation
…penSearch project rules. The OpenSearch project no longer supports tagging in workflows or use of app tokens. The release GitHub Action currently creates the tag for a release. Now that this is unsupported, the release GHA validates that the tag exists and matches what we expect from the gradle.properties file. Both the release and release-prepare-branch GitHub Actions currently create PRs against the repo. The new approach uses a dedicated fork for creating these PRs. Access to the fork is granted via a personal access token. This commit also updates related documentation for setting up a repository for releases. Resolves opensearch-project#6912. Signed-off-by: David Venable <dlv@amazon.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.
Description
The OpenSearch project no longer supports tagging in workflows or use of app tokens. The release GitHub Action currently creates the tag for a release. Now that this is unsupported, the release GHA validates that the tag exists and matches what we expect from the gradle.properties file. Both the release and release-prepare-branch GitHub Actions currently create PRs against the repo. The new approach uses a dedicated fork for creating these PRs. Access to the fork is granted via a personal access token. This commit also updates related documentation for setting up a repository for releases.
I tested this in my fork with the following workflow run:
Issues Resolved
Resolves #6912
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.