This repository was archived by the owner on Sep 28, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Create PR
2+ on :
3+ push :
4+ branches :
5+ - stable
6+
7+ jobs :
8+ PR :
9+ name : Create
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout code
13+ uses : actions/checkout@master
14+ with :
15+ ref : ${{ github.event.ref }}
16+ fetch-depth : 0
17+ token : ${{ secrets.VOTCA_BOT_TOKEN }}
18+ - name : Try to merge master branch
19+ run : |
20+ git config --global user.name "Votca Bot"
21+ git config --global user.email "github@votca.org"
22+ git checkout -b stable_fixes
23+ git merge origin/master || true
24+ git push origin stable_fixes
25+ - name : Create Pull Request
26+ uses : actions/github-script@0.3.0
27+ with :
28+ github-token : ${{ secrets.VOTCA_BOT_TOKEN }}
29+ script : |
30+ github.pulls.create({
31+ owner: 'votca',
32+ repo: 'xtp-tutorials',
33+ title: 'Fixes from stable',
34+ head: 'stable_fixes',
35+ base: 'master'
36+ })
You can’t perform that action at this time.
0 commit comments