summaryrefslogtreecommitdiffstats
path: root/.github/workflows/repo-sync.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/repo-sync.yml')
-rw-r--r--.github/workflows/repo-sync.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml
new file mode 100644
index 00000000..dc9360a7
--- /dev/null
+++ b/.github/workflows/repo-sync.yml
@@ -0,0 +1,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 }}