Skip to content
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

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

auto-cherry-pick for docs-cypher #1073

wants to merge 2 commits into from

Conversation

rsill-neo4j
Copy link
Contributor

@recrwplay changed the GitHub actions settings to include "sorenlouv/backport-github-action@*,", not sure that's enough

@neo-technology-commit-status-publisher
Copy link
Collaborator

This PR includes documentation updates
View the updated docs at https://neo4j-docs-cypher-1073.surge.sh

Copy link
Collaborator

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.

Copy link
Contributor Author

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"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
types: ["labeled", "closed"]
types: ["closed"]

with:
github_token: ${{ secrets.GITHUB_TOKEN }}
auto_backport_label_prefix: auto-cherry-pick-to-
add_original_reviewers: true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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-
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
&& contains(github.event.pull_request.labels.*.name, 'auto-cherry-pick')
&& contains(github.event.pull_request.labels.*.name, 'cherry-pick')

Comment on lines +13 to +15
&& (
(github.event.action == 'labeled' && github.event.label.name == 'auto-cherry-pick')
|| (github.event.action == 'closed')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
&& (
(github.event.action == 'labeled' && github.event.label.name == 'auto-cherry-pick')
|| (github.event.action == 'closed')
&& github.event.action == 'closed'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants