-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (38 loc) · 1.19 KB
/
schedule_work.yml
File metadata and controls
43 lines (38 loc) · 1.19 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
name: Sync Upstream
on:
schedule:
- cron: "*/15 * * * *"
workflow_dispatch:
jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
- name: Manage Repo
uses: IWDTestBot/action-manage-repo@master
with:
src_repo: "https://git.kernel.org/pub/scm/network/wireless/iwd.git"
src_branch: "master"
dest_branch: "master"
workflow_branch: "workflow"
github_token: ${{ secrets.GITHUB_TOKEN }}
create_pr:
needs: repo-sync
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Patchwork to PR
uses: IWDTestBot/action-patchwork-to-pr@master
with:
pw_key_str: "user"
github_token: ${{ secrets.ACTION_TOKEN }}
email_token: ${{ secrets.EMAIL_TOKEN }}
patchwork_token: ${{ secrets.PATCHWORK_TOKEN }}
config: https://raw.githubusercontent.com/IWDTestBot/iwd/workflow/.github/workflows/pw-to-pr.json
patchwork_id: "408"
email_message: https://raw.githubusercontent.com/IWDTestBot/iwd/workflow/.github/workflows/pw-to-pr-email.txt