Преглед на файлове

Merge pull request #400 from yorunning/main

ci(sync): add push permission
Yifei Zhang преди 2 години
родител
ревизия
54447ba677
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      .github/workflows/sync.yml

+ 4 - 1
.github/workflows/sync.yml

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