forked from bluez/bluez
-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (58 loc) · 1.71 KB
/
sync.yml
File metadata and controls
64 lines (58 loc) · 1.71 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Sync Repositories and Patchwork
on:
schedule:
- cron: "*/5 * * * *"
jobs:
bluez:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bluez/action-sync-repo@master
with:
src_repo: 'https://git.kernel.org/pub/scm/bluetooth/bluez.git'
src_branch: 'master'
dest_repo: 'bluez/bluez'
dest_branch: 'master'
secret_token: ${{ secrets.ACTION_TOKEN }}
workflow:
needs: bluez
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bluez/action-sync-repo@master
with:
src_repo: 'https://github.com/bluez/bluez.git'
src_branch: 'master'
dest_repo: 'bluez/bluez'
dest_branch: 'workflow'
secret_token: ${{ secrets.ACTION_TOKEN }}
bluetooth-next:
needs: bluez
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bluez/action-sync-repo@master
with:
src_repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git'
dest_repo: 'bluez/bluetooth-next'
for_upstream_branch: 'for-upstream'
secret_token: ${{ secrets.ACTION_TOKEN }}
patchwork:
needs: workflow
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cleanup PR
uses: tedd-an/bzcafe@main
with:
task: cleanup
github_token: ${{ secrets.ACTION_TOKEN }}
- name: Sync Patchwork
uses: tedd-an/bzcafe@main
with:
task: patchwork
space: user
github_token: ${{ secrets.ACTION_TOKEN }}
email_token: ${{ secrets.EMAIL_TOKEN }}
patchwork_token: ${{ secrets.PATCHWORK_TOKEN }}
patchwork_user: ${{ secrets.PATCHWORK_USER }}