Skip to content

Allow the workflow to create PRs #8

Allow the workflow to create PRs

Allow the workflow to create PRs #8

Workflow file for this run

name: Merge stable into child branches
on:
push:
branches: ["stable"]
jobs:
create-pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all branches and their history
- name: Fetch all branches
run: git fetch --all
- name: Merge changes
run: |
git checkout minor-next
git merge stable
- name: Create Pull Request for branch 'minor-next'
token: ${{ secrets.AUTO_MERGE_TOKEN }}

Check failure on line 24 in .github/workflows/auto-merge.yml

View workflow run for this annotation

GitHub Actions / Merge stable into child branches

Invalid workflow file

The workflow is not valid. .github/workflows/auto-merge.yml (Line: 24, Col: 9): Unexpected value 'token'
id: minor-next
uses: peter-evans/create-pull-request@v6
with:
base: minor-next
title: Merge branch 'stable' into minor-next