-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (44 loc) · 1.29 KB
/
repo-sync.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
on:
schedule:
- cron: "* */1 * * *"
workflow_dispatch:
jobs:
master:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: repo-sync
uses: repo-sync/github-sync@v2
with:
source_repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git"
source_branch: "master"
destination_branch: "master"
github_token: ${{ secrets.PAT }}
linux-6.6.y:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: repo-sync
uses: repo-sync/github-sync@v2
with:
source_repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git"
source_branch: "linux-6.6.y"
destination_branch: "linux-6.6.y"
github_token: ${{ secrets.PAT }}
linux-6.1.y:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: repo-sync
uses: repo-sync/github-sync@v2
with:
source_repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git"
source_branch: "linux-6.1.y"
destination_branch: "linux-6.1.y"
github_token: ${{ secrets.PAT }}