Skip to content

Commit fee9a42

Browse files
committed
Add gh action
1 parent be3b6f3 commit fee9a42

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/repo-sync.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# File: .github/workflows/repo-sync.yml
2+
3+
name: Sync repo
4+
on:
5+
schedule:
6+
- cron: "*/15 * * * *"
7+
workflow_dispatch:
8+
9+
jobs:
10+
repo-sync:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
with:
15+
persist-credentials: false
16+
- name: repo-sync
17+
uses: repo-sync/github-sync@v2
18+
with:
19+
source_repo: "https://git.sr.ht/~declantsien/emacs-wr"
20+
sync_tags: "true"
21+
source_branch: "*"
22+
destination_branch: "*"
23+
github_token: ${{ secrets.PAT }}

0 commit comments

Comments
 (0)