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