-
Notifications
You must be signed in to change notification settings - Fork 220
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
Add Action to setup release candidate branch #4204
base: main
Are you sure you want to change the base?
Conversation
Quality Gate passedIssues Measures |
- name: Set up release branch | ||
env: | ||
releaseBranch: "release/candidate/${{inputs.versionNumber}}" | ||
if: ${{ env.EXISTS == 'false' }} |
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.
do we still need this if the previous step will exit with failure
inputs: | ||
commitId: | ||
description: "Commit Id" | ||
default: "" |
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.
can we default this to the current HEAD of main
- name: Set up release branch | ||
env: | ||
releaseBranch: "release/candidate/${{inputs.versionNumber}}" | ||
if: ${{ env.EXISTS == 'false' }} |
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.
https://docs.github.com/en/actions/learn-github-actions/expressions#status-check-functions
if: ${{ success() }}
also works, to avoid polluting the env vars
Quality Gate passedIssues Measures |
Types of changes
Description
GH Action to manually setup a release branch
License
I confirm that my contribution is made under the terms of the Apache 2.0 license.