-
-
Notifications
You must be signed in to change notification settings - Fork 68
33 lines (31 loc) · 1.03 KB
/
sync.yml
File metadata and controls
33 lines (31 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: sync
on:
#schedule:
# - cron: '0 0 * * *'
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: work-for-release-0.23.x
ssh-key: ${{ secrets.CREATE_PULL_REQUEST_SSH_KEY }}
- name: Setup git user
env:
BUILD_USER: ${{ secrets.BUILD_USER }}
BUILD_TOKEN: ${{ secrets.BUILD_TOKEN }}
run: |
git config --global user.email "contact@killbill.io"
git config --global user.name "Kill Bill core team"
git config --global url."https://${BUILD_USER}:${BUILD_TOKEN}@github.com/".insteadOf "git@github.com:"
- name: Merge master branch
run: |
git merge origin/master
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
branch: work-for-release-0.23.x-promotion
title: 'Sync master into work-for-release-0.23.x'
body: 'Merge latest master into work-for-release-0.23.x'