Merge pull request #400 from yorunning/main

ci(sync): add push permission
This commit is contained in:
Yifei Zhang 2023-04-03 14:24:08 +08:00 committed by GitHub
commit 54447ba677
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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