Skip to content

Commit c2bf0af

Browse files
authored
Merge pull request #1249 from mongodb/merge-v1.17-into-master-1709899180438
Merge v1.17 into master
2 parents b93a9e1 + 6b03b1c commit c2bf0af

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/merge-up.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Merge up
2+
3+
on:
4+
push:
5+
branches:
6+
- "v[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: 'v<major>.<minor>'
34+
fallbackBranch: 'master'

0 commit comments

Comments
 (0)