We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdb0139 commit 7057fa4Copy full SHA for 7057fa4
1 file changed
.github/workflows/ztxtop.yml
@@ -0,0 +1,28 @@
1
+name: ztxtop-sync
2
+on:
3
+ schedule:
4
+ - cron: '25 */3 * * *'
5
+ workflow_dispatch:
6
+ watch:
7
+ types: started
8
+ repository_dispatch:
9
+ types: sync-ztxtop-x
10
+jobs:
11
+ repo-sync:
12
+ env:
13
+ PAT: ${{ secrets.PAT }}
14
+ runs-on: ubuntu-latest
15
+ if: github.event.repository.owner.id == github.event.sender.id
16
+ steps:
17
+ - uses: actions/checkout@v2
18
+ with:
19
+ persist-credentials: false
20
+
21
+ - name: sync ztxtop-x
22
+ uses: repo-sync/github-sync@v2
23
+ if: env.PAT
24
25
+ source_repo: "https://github.com/ztxtop/x.git"
26
+ source_branch: "main"
27
+ destination_branch: "ztxtop"
28
+ github_token: ${{ secrets.PAT }}
0 commit comments