-
Notifications
You must be signed in to change notification settings - Fork 56
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
auto-cherry-pick for docs-cypher #1073
base: dev
Are you sure you want to change the base?
Conversation
This PR includes documentation updates |
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 need this file? I think it's needed only when using the cli tool, which we are not using.
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.
hm... the prTitle i think shows up on the auto-generated PRs 🤔
name: auto-cherry-pick | ||
on: | ||
pull_request_target: | ||
types: ["labeled", "closed"] |
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.
types: ["labeled", "closed"] | |
types: ["closed"] |
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
auto_backport_label_prefix: auto-cherry-pick-to- | ||
add_original_reviewers: true |
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.
add_original_reviewers: true | |
add_original_reviewers: false |
uses: sorenlouv/backport-github-action@929f69d04adbc196d982e60f02837b6cc00b3129 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
auto_backport_label_prefix: auto-cherry-pick-to- |
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.
auto_backport_label_prefix: auto-cherry-pick-to- | |
auto_backport_label_prefix: cherry-pick-to- |
runs-on: [ubuntu-latest] | ||
if: | | ||
github.event.pull_request.merged == true | ||
&& contains(github.event.pull_request.labels.*.name, 'auto-cherry-pick') |
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.
&& contains(github.event.pull_request.labels.*.name, 'auto-cherry-pick') | |
&& contains(github.event.pull_request.labels.*.name, 'cherry-pick') |
&& ( | ||
(github.event.action == 'labeled' && github.event.label.name == 'auto-cherry-pick') | ||
|| (github.event.action == 'closed') |
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.
&& ( | |
(github.event.action == 'labeled' && github.event.label.name == 'auto-cherry-pick') | |
|| (github.event.action == 'closed') | |
&& github.event.action == 'closed' |
@recrwplay changed the GitHub actions settings to include "sorenlouv/backport-github-action@*,", not sure that's enough