Skip to content

Commit cf0ea1a

Browse files
authored
Merge pull request #2754 from mongodb/merge-4.1-into-4.2-1709803162085
Merge 4.1 into 4.2
2 parents 34003dc + faaeb3a commit cf0ea1a

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/merge-up.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Merge up
2+
3+
on:
4+
push:
5+
branches:
6+
- "[0-9]+.[0-9]+"
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
env:
13+
GH_TOKEN: ${{ github.token }}
14+
15+
jobs:
16+
merge-up:
17+
name: Create merge up pull request
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout
22+
id: checkout
23+
uses: actions/checkout@v4
24+
with:
25+
# fetch-depth 0 is required to fetch all branches, not just the branch being built
26+
fetch-depth: 0
27+
28+
- name: Create pull request
29+
id: create-pull-request
30+
uses: alcaeus/automatic-merge-up-action@main
31+
with:
32+
ref: ${{ github.ref_name }}
33+
branchNamePattern: '<major>.<minor>'

0 commit comments

Comments
 (0)