-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
chore: update to latest release action #11808
Conversation
This PR must be merged before a backport PR will be created. |
1 similar comment
This PR must be merged before a backport PR will be created. |
Hello @trevorwhitney!
Please, if the current pull request addresses a bug fix, label it with the |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new branch
git switch --create backport-11808-to-release-2.9.x origin/release-2.9.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x 65b3ec441baec24a7e2abdec1d6d09792048e7d4 When the conflicts are resolved, stage and commit the changes:
If you have the GitHub CLI installed: # Push the branch to GitHub:
git push --set-upstream origin backport-11808-to-release-2.9.x
# Create the PR body template
PR_BODY=$(gh pr view 11808 --json body --template 'Backport 65b3ec441baec24a7e2abdec1d6d09792048e7d4 from #11808{{ "\n\n---\n\n" }}{{ index . "body" }}')
# Create the PR on GitHub
echo "${PR_BODY}" | gh pr create --title "[release-2.9.x] chore: update to latest release action" --body-file - --label "size/XXL" --label "product-approved" --label "backport" --base release-2.9.x --milestone release-2.9.x --web Or, if you don't have the GitHub CLI installed (we recommend you install it!): # Push the branch to GitHub:
git push --set-upstream origin backport-11808-to-release-2.9.x
# Create a pull request where the `base` branch is `release-2.9.x` and the `compare`/`head` branch is `backport-11808-to-release-2.9.x`.
# Remove the local backport branch
git switch main
git branch -D backport-11808-to-release-2.9.x |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new branch
git switch --create backport-11808-to-release-2.8.x origin/release-2.8.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x 65b3ec441baec24a7e2abdec1d6d09792048e7d4 When the conflicts are resolved, stage and commit the changes:
If you have the GitHub CLI installed: # Push the branch to GitHub:
git push --set-upstream origin backport-11808-to-release-2.8.x
# Create the PR body template
PR_BODY=$(gh pr view 11808 --json body --template 'Backport 65b3ec441baec24a7e2abdec1d6d09792048e7d4 from #11808{{ "\n\n---\n\n" }}{{ index . "body" }}')
# Create the PR on GitHub
echo "${PR_BODY}" | gh pr create --title "[release-2.8.x] chore: update to latest release action" --body-file - --label "size/XXL" --label "product-approved" --label "backport" --base release-2.8.x --milestone release-2.8.x --web Or, if you don't have the GitHub CLI installed (we recommend you install it!): # Push the branch to GitHub:
git push --set-upstream origin backport-11808-to-release-2.8.x
# Create a pull request where the `base` branch is `release-2.8.x` and the `compare`/`head` branch is `backport-11808-to-release-2.8.x`.
# Remove the local backport branch
git switch main
git branch -D backport-11808-to-release-2.8.x |
Fixes the repo reference for the release actions