forked from DDNStorage/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 1 KB
/
sync.yml
File metadata and controls
32 lines (28 loc) · 1 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
name: Sync Branches
on:
schedule:
- cron: 0 0 * * *
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Sync redfs branches
# master: torvalds/linux => DDNStorage/linux => here
# ctrliq/*: ctrliq/kernel-src-tree.git => DDNStorage/linux => here
# redfs-*: DDNStorage/linux => here
run: |
gh repo sync $REPOSITORY -b master
gh repo sync $REPOSITORY -b ctrliq/rocky9_4
gh repo sync $REPOSITORY -b ctrliq/rocky9_5
gh repo sync $REPOSITORY -b ctrliq/rocky9_6
gh repo sync $REPOSITORY -b redfs-rhel9_4-427.42.1
gh repo sync $REPOSITORY -b redfs-rhel9_5-503.40.1
gh repo sync $REPOSITORY -b redfs-rhel9_6-570.12.1
gh repo sync $REPOSITORY -b redfs-ubuntu-noble-6.8.0-58.60
gh repo sync $REPOSITORY -b redfs-rhel10_0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: ${{ github.repository }}