add github action to sync automatically
This commit is contained in:
parent
15d26652a2
commit
f9929443ed
6
.github/dependabot.yml
vendored
Normal file
6
.github/dependabot.yml
vendored
Normal 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
19
.github/workflows/repo-sync.yml
vendored
Normal 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 }}
|
Loading…
Reference in New Issue
Block a user