Skip to content

Commit

Permalink
自动入会关注有礼
Browse files Browse the repository at this point in the history
  • Loading branch information
ucpaopao committed Jun 7, 2021
1 parent c5fbfb6 commit 95b48f1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/curtinlv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: curtinlv-sync
on:
schedule:
- cron: '15 */3 * * *'
workflow_dispatch:
watch:
types: started
repository_dispatch:
types: sync-curtinlv-jdscripts
jobs:
repo-sync:
env:
PAT: ${{ secrets.PAT }}
runs-on: ubuntu-latest
if: github.event.repository.owner.id == github.event.sender.id
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false

- name: sync curtinlv-jdscripts
uses: repo-sync/github-sync@v2
if: env.PAT
with:
source_repo: "https://github.com/curtinlv/JD-Script.git"
source_branch: "main"
destination_branch: "curtinlv"
github_token: ${{ secrets.PAT }}

0 comments on commit 95b48f1

Please sign in to comment.