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 : sync
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 0 * * *'
6+ workflow_dispatch :
7+
8+ jobs :
9+ sync :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ with :
14+ fetch-depth : 0
15+ ref : work-for-release-0.23.x
16+ ssh-key : ${{ secrets.CREATE_PULL_REQUEST_SSH_KEY }}
17+ - name : Setup git user
18+ env :
19+ BUILD_USER : ${{ secrets.BUILD_USER }}
20+ BUILD_TOKEN : ${{ secrets.BUILD_TOKEN }}
21+ run : |
22+ git config --global user.email "contact@killbill.io"
23+ git config --global user.name "Kill Bill core team"
24+ git config --global url."https://${BUILD_USER}:${BUILD_TOKEN}@github.com/".insteadOf "git@github.com:"
25+ - name : Merge master branch
26+ run : |
27+ git merge origin/master
28+ - name : Create Pull Request
29+ uses : peter-evans/create-pull-request@v3
30+ with :
31+ branch : work-for-release-0.23.x-promotion
32+ title : ' Sync master into work-for-release-0.23.x'
33+ body : ' Merge latest master into work-for-release-0.23.x'
You can’t perform that action at this time.
0 commit comments