forked from XiaoMo/ChatGPT-Next-Web
Merge pull request #392 from yorunning/main
ci(sync): skip main repo execution
This commit is contained in:
commit
f863a562a0
5
.github/workflows/sync.yml
vendored
5
.github/workflows/sync.yml
vendored
@ -2,13 +2,14 @@ name: Upstream Sync
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 */12 * * *' # every 12 hours
|
||||
workflow_dispatch: # on button click
|
||||
- cron: "0 */6 * * *" # every 6 hours
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
sync_latest_from_upstream:
|
||||
name: Sync latest commits from upstream repo
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.repository.fork }}
|
||||
|
||||
steps:
|
||||
# Step 1: run a standard checkout action, provided by github
|
||||
|
Loading…
x
Reference in New Issue
Block a user