File tree 1 file changed +36
-0
lines changed 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Merge up
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - release/*.*
7
+ - v*
8
+
9
+ permissions :
10
+ id-token : write
11
+ contents : write
12
+ pull-requests : write
13
+
14
+ jobs :
15
+ merge-up :
16
+ name : Create merge up pull request
17
+ runs-on : ubuntu-latest
18
+
19
+ steps :
20
+ - uses : mongodb-labs/drivers-github-tools/secure-checkout@v2
21
+ with :
22
+ app_id : ${{ vars.PR_APP_ID }}
23
+ private_key : ${{ secrets.PR_APP_PRIVATE_KEY }}
24
+ # Make sure to include fetch-depth 0 so all branches are fetched, not
25
+ # just the current one
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 : ' release/<major>.<minor>'
34
+ devBranchNamePattern : ' v<major>'
35
+ fallbackBranch : ' master'
36
+ enableAutoMerge : true
You can’t perform that action at this time.
0 commit comments