-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (27 loc) · 885 Bytes
/
Copy pathpullrequest.yml
File metadata and controls
28 lines (27 loc) · 885 Bytes
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
name: Create Pull Request
on:
release:
types:
- published
jobs:
update_fork:
name: Create Contrib Branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: push contrib branch
env:
CI_USER_EMAIL: ${{ secrets.CI_USER_EMAIL }}
CI_USER_NAME: ${{ secrets.CI_USER_NAME }}
CI_USER_USERNAME: ${{ secrets.CI_USER_USERNAME }}
CI_USER_ACCESS_TOKEN: ${{ secrets.CI_USER_ACCESS_TOKEN }}
run: |
git config --global user.email "${CI_USER_EMAIL}"
git config --global user.name "${CI_USER_NAME}"
./scripts/push-contrib-branch.sh
- name: raise pull request
env:
CI_USER_USERNAME: ${{ secrets.CI_USER_USERNAME }}
CI_USER_ACCESS_TOKEN: ${{ secrets.CI_USER_ACCESS_TOKEN }}
run: |
./scripts/raise-pull-request.sh