Browse Source

add github action to sync automatically

master
Jörg Thalheim 4 weeks ago
parent
commit
f9929443ed
No known key found for this signature in database GPG Key ID: B3F5D81B0C6967C4
  1. 6
      .github/dependabot.yml
  2. 19
      .github/workflows/repo-sync.yml

6
.github/dependabot.yml

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

19
.github/workflows/repo-sync.yml

@ -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 }}
Loading…
Cancel
Save