Skip to content

[batch-release] Step3: Adds github action to create a PR to sync changes on the go_router release branch back to the main branch #3

[batch-release] Step3: Adds github action to create a PR to sync changes on the go_router release branch back to the main branch

[batch-release] Step3: Adds github action to create a PR to sync changes on the go_router release branch back to the main branch #3

Workflow file for this run

name: "Sync Release to Main"
on:
push:
branches:
- 'release'
jobs:
create_sync_pr:

Check failure on line 9 in .github/workflows/sync_release_pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sync_release_pr.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
# Fetch all history for all branches
fetch-depth: 0
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "sync release branch to main"
title: "Sync release branch to main"
body: "This automated PR syncs the changes from the release branch back to the main branch."
branch: release
base: main