forked from XiaoMo/ChatGPT-Next-Web
Merge pull request #400 from yorunning/main
ci(sync): add push permission
This commit is contained in:
commit
54447ba677
5
.github/workflows/sync.yml
vendored
5
.github/workflows/sync.yml
vendored
@ -1,5 +1,8 @@
|
|||||||
name: Upstream Sync
|
name: Upstream Sync
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 */6 * * *" # every 6 hours
|
- cron: "0 */6 * * *" # every 6 hours
|
||||||
@ -12,7 +15,7 @@ jobs:
|
|||||||
if: ${{ github.event.repository.fork }}
|
if: ${{ github.event.repository.fork }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Step 1: run a standard checkout action, provided by github
|
# Step 1: run a standard checkout action
|
||||||
- name: Checkout target repo
|
- name: Checkout target repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user