Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/6.x' into use-node-directive-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
MacondoExpress committed Oct 16, 2024
2 parents c22e466 + b17fad4 commit 69ca297
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .backportrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"repoOwner": "Neo4j",
"repoName": "docs-graphql",
"prTitle": "[Cherry-pick][{{targetBranch}}] {{commitMessages}}"
}
31 changes: 31 additions & 0 deletions .github/workflows/auto-backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: auto-cherry-pick
on:
pull_request_target:
types: ["labeled", "closed"]

jobs:
backport:
name: Cherry-pick PR
runs-on: [ubuntu-latest]
if: |
github.event.pull_request.merged == true
&& contains(github.event.pull_request.labels.*.name, 'auto-cherry-pick')
&& (
(github.event.action == 'labeled' && github.event.label.name == 'auto-cherry-pick')
|| (github.event.action == 'closed')
)
steps:
- name: Cherry-pick action
uses: sorenlouv/backport-github-action@929f69d04adbc196d982e60f02837b6cc00b3129
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
auto_backport_label_prefix: auto-cherry-pick-to-
add_original_reviewers: true

- name: Info log
if: ${{ success() }}
run: cat ~/.backport/backport.info.log

- name: Debug log
if: ${{ failure() }}
run: cat ~/.backport/backport.debug.log

0 comments on commit 69ca297

Please sign in to comment.