forked from RodrigoSMarques/flutter_branch_sdk
-
Notifications
You must be signed in to change notification settings - Fork 9
41 lines (39 loc) · 1.33 KB
/
sync-upstream.yaml
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
34
35
36
37
38
39
40
41
name: 'Upstream Sync'
on:
repository_dispatch:
types: [new-release]
workflow_dispatch: # click the button on Github repo!
jobs:
update_repository_branch:
runs-on: ubuntu-latest
steps:
- name: Repository master
uses: TobKed/github-forks-sync-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
upstream_repository: RodrigoSMarques/flutter_branch_sdk
target_repository: BranchMetrics/flutter_branch_sdk
upstream_branch: master
target_branch: master
force: true
tags: true
- name: Repository dev
uses: TobKed/github-forks-sync-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
upstream_repository: RodrigoSMarques/flutter_branch_sdk
target_repository: BranchMetrics/flutter_branch_sdk
upstream_branch: dev
target_branch: dev
force: true
tags: true
- name: Repository bugfix
uses: TobKed/github-forks-sync-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
upstream_repository: RodrigoSMarques/flutter_branch_sdk
target_repository: BranchMetrics/flutter_branch_sdk
upstream_branch: bugfix
target_branch: bugfix
force: true
tags: true