Skip to content

Add automatic cherry-picking #1

Add automatic cherry-picking

Add automatic cherry-picking #1

Workflow file for this run

name: auto-cherry-pick
on:
pull_request_target:
types: ["closed"]
jobs:
backport:
name: Cherry-pick PR
runs-on: [ubuntu-latest]
if: |

Check failure on line 10 in .github/workflows/auto-backport.yml

View workflow run for this annotation

GitHub Actions / auto-cherry-pick

Invalid workflow file

The workflow is not valid. .github/workflows/auto-backport.yml (Line: 10, Col: 9): Unexpected symbol: ')'. Located at position 113 within expression: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'auto-cherry-pick') && github.event.action == 'closed' )
github.event.pull_request.merged == true
&& contains(github.event.pull_request.labels.*.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: false
- name: Info log
if: ${{ success() }}
run: cat ~/.backport/backport.info.log
- name: Debug log
if: ${{ failure() }}
run: cat ~/.backport/backport.debug.log