add github action to sync automatically

This commit is contained in:
Jörg Thalheim 2021-04-12 17:12:59 +02:00
parent 15d26652a2
commit f9929443ed
No known key found for this signature in database
GPG Key ID: B3F5D81B0C6967C4
2 changed files with 25 additions and 0 deletions

6
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

19
.github/workflows/repo-sync.yml vendored Normal file
View File

@ -0,0 +1,19 @@
on:
schedule:
- cron: "*/55 * * * *"
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/retiolum.git"
source_branch: "master"
destination_branch: "master"
github_token: ${{ secrets.PAT }}