summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2021-02-24 14:09:22 +0100
committermakefu <github@syntax-fehler.de>2021-05-15 13:11:34 +0200
commit8e75d699785f61e8baed4ade9268811c71d1bbb4 (patch)
tree2bc49f158808ab7e8b45e910349bf3bdf4adcb85
parentccc66f44d8b82523559703f84b647fba8623c55d (diff)
add github action for autosync
-rw-r--r--.github/dependabot.yml6
-rw-r--r--.github/workflows/repo-sync.yml19
2 files changed, 25 insertions, 0 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 000000000..5ace4600a
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,6 @@
+version: 2
+updates:
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "weekly"
diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml
new file mode 100644
index 000000000..4284463f9
--- /dev/null
+++ b/.github/workflows/repo-sync.yml
@@ -0,0 +1,19 @@
+on:
+ schedule:
+ - cron: "*/15 * * * *"
+ workflow_dispatch:
+
+jobs:
+ repo-sync:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ 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 }}