summaryrefslogtreecommitdiffstats
path: root/.github/workflows/repo-sync.yml
blob: dc9360a765fb7e5a5edc2bc76a415e88d43faaa2 (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@v4
      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 }}