Skip to content

ci: workflow to merge main into develop automatically #1

ci: workflow to merge main into develop automatically

ci: workflow to merge main into develop automatically #1

name: Merge main into develop
on:
push:
branches:
- main
permissions:
# Needed to read branches
contents: read
# Needed to create PR's
pull-requests: write
name: Merge main into develop

Check failure on line 14 in .github/workflows/merge-main-into-develop.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/merge-main-into-develop.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
jobs:
sync-branches:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Opening pull request
id: pull
uses: jdtx0/branch-sync@1.5.1
with:
GITHUB_TOKEN: ${{ secrets.REPO_SYNC_ACTION_PAT }}
FROM_BRANCH: "main"
TO_BRANCH: "develop"
PULL_REQUEST_AUTO_MERGE_METHOD: "merge"