forked from dronemapper-io/micmac
-
Notifications
You must be signed in to change notification settings - Fork 1
28 lines (24 loc) · 932 Bytes
/
main.yml
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
name: Scheduled merge action
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *' # every day at midnight
jobs:
merge-from-upstream-repo:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: master # set the branch to merge to
fetch-depth: 0 # get all changes
- name: Merge from upstream repo
uses: discdiver/[email protected]
with:
useremail: [email protected] # set the user email for git commits
username: rumenmitrev # set the user name for git commits
upstream: micmacIGN/micmac # set the upstream repo
upstream-branch: master # set the upstream branch to merge from
branch: master # set the branch to merge to
token: ${{ secrets.TOKEN_FOR_AUTH_GIT }}