21 lines
577 B
YAML
21 lines
577 B
YAML
name: Sync all branches
|
|
on:
|
|
workflow_dispatch:
|
|
jobs:
|
|
|
|
generate-matrix:
|
|
name: Generate matrix of branches
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
|
steps:
|
|
- uses: TobKed/github-forks-sync-action@master
|
|
with:
|
|
github_token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
|
|
upstream_repository: liu673cn/box
|
|
target_repository: woshishiq1/mao
|
|
upstream_branch: ${{ matrix.branch }}
|
|
target_branch: ${{ matrix.branch }}
|
|
force: true
|
|
tags: true
|