Skip to content

CenBoMin-sync

CenBoMin-sync #6594

Workflow file for this run

name: CenBoMin-sync
on:
schedule:
- cron: '1 */3 * * *'
workflow_dispatch:
watch:
types: started
repository_dispatch:
types: sync-CenBoMin-GithubSync
jobs:
repo-sync:
env:
PAT: ${{ secrets.PAT }}
runs-on: ubuntu-latest
if: github.event_name == 'schedule' || github.event.repository.owner.id == github.event.sender.id
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: sync CenBoMin-GithubSync
uses: repo-sync/github-sync@v2
if: env.PAT
with:
source_repo: "https://github.com/CenBoMin/GithubSync.git"
source_branch: "main"
destination_branch: "CenBoMin"
github_token: ${{ secrets.PAT }}