File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-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+ environment : release
17+ name : Create merge up pull request
18+ runs-on : ubuntu-latest
19+
20+ steps :
21+ - uses : mongodb-labs/drivers-github-tools/secure-checkout@v2
22+ with :
23+ app_id : ${{ vars.APP_ID }}
24+ private_key : ${{ secrets.APP_PRIVATE_KEY }}
25+ # Make sure to include fetch-depth 0 so all branches are fetched, not
26+ # just the current one
27+ fetch-depth : 0
28+
29+ - name : Create pull request
30+ id : create-pull-request
31+ uses : alcaeus/automatic-merge-up-action@main
32+ with :
33+ ref : ${{ github.ref_name }}
34+ branchNamePattern : ' release/<major>.<minor>'
35+ devBranchNamePattern : ' v<major>'
36+ fallbackBranch : ' master'
37+ enableAutoMerge : true
You can’t perform that action at this time.
0 commit comments