Merge 5.0 into 5.x (#3155) #303
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Merge up | |
on: | |
push: | |
branches: | |
- "[0-9]+.[0-9x]+" | |
env: | |
GH_TOKEN: ${{ secrets.MERGE_UP_TOKEN }} | |
jobs: | |
merge-up: | |
name: Create merge up pull request | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@v4 | |
with: | |
# fetch-depth 0 is required to fetch all branches, not just the branch being built | |
fetch-depth: 0 | |
token: ${{ secrets.MERGE_UP_TOKEN }} | |
- name: Create pull request | |
id: create-pull-request | |
uses: alcaeus/automatic-merge-up-action@main | |
with: | |
ref: ${{ github.ref_name }} | |
branchNamePattern: '<major>.<minor>' | |
devBranchNamePattern: '<major>.x' | |
enableAutoMerge: true |