Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/merge-up.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Merge up

on:
push:
branches:
- "[0-9]+.[0-9]+"

permissions:
contents: write
pull-requests: write

env:
GH_TOKEN: ${{ github.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

- name: Create pull request
id: create-pull-request
uses: alcaeus/automatic-merge-up-action@main
with:
ref: ${{ github.ref_name }}
branchNamePattern: '<major>.<minor>'