Skip to content

Update sync_branches.yml #4

Update sync_branches.yml

Update sync_branches.yml #4

Workflow file for this run

name: Sync branches
on:
push:
branches:
- github
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Sync branches
uses: TreTuna/sync-branches@1.4.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FROM_BRANCH: github
TO_BRANCH: main
name: automerge

Check failure on line 22 in .github/workflows/sync_branches.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sync_branches.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- id: automerge
name: automerge
uses: "pascalgn/automerge-action@v0.16.2"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_FILTER_AUTHOR: "github-actions"