summaryrefslogtreecommitdiffstats
path: root/.github/workflows/repo-sync.yml
blob: 5112f7e0cb4670f446566c912b44355b35522c5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
on:
  schedule:
  - cron:  "*/15 * * * *"
  workflow_dispatch:

jobs:
  repo-sync:
    if: github.repository_owner == 'Mic92'
    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.thalheim.io/Mic92/stockholm.git"
        source_branch: "master"
        destination_branch: "master"
        github_token: ${{ secrets.PAT }}