Add .github/workflows/repo-sync.yml
This commit is contained in:
parent
bef5fb533f
commit
dea001d75d
1 changed files with 21 additions and 0 deletions
21
.github/workflows/repo-sync.yml
vendored
Normal file
21
.github/workflows/repo-sync.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
# File: .github/workflows/repo-sync.yml
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "*/15 * * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
repo-sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: repo-sync
|
||||
uses: repo-sync/github-sync@v2
|
||||
with:
|
||||
source_repo: "https://git.private.coffee/blitzwing/furao-link/"
|
||||
source_branch: "main"
|
||||
destination_branch: "main"
|
||||
github_token: ${{ secrets.PAT }}
|
Reference in a new issue