Skip to content

Added workflow to generate PR for syncing branches from "main" to "2". #4

Added workflow to generate PR for syncing branches from "main" to "2".

Added workflow to generate PR for syncing branches from "main" to "2". #4

Workflow file for this run

name: Sync Branches
on:
push:
branches:
- main
jobs:
sync-branches:
runs-on: ubuntu-latest
name: Syncing branches
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 12
- name: Opening pull request
id: pull
uses: tretuna/[email protected]
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
FROM_BRANCH: "main"
TO_BRANCH: "2"
PULL_REQUEST_TITLE: "Sync from branch {FROM_BRANCH} to branch {TO_BRANCH}"

Check failure on line 25 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 25
PULL_REQUEST_BODY: "Migrating change from branch {FROM_BRANCH} to branch {TO_BRANCH}"