Sfoglia il codice sorgente

Use pull-request: write for gradlew updates

Explicitly provide the permissions required for updating the Gradle
wrapper
Rob Winch 3 mesi fa
parent
commit
9436796973
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      .github/workflows/gradle-wrapper-upgrade-execution.yml

+ 2 - 1
.github/workflows/gradle-wrapper-upgrade-execution.yml

@@ -4,7 +4,8 @@ on:
   schedule:
     - cron:  '0 2 * * *' # 2am UTC
   workflow_dispatch:
-
+permissions:
+  pull-requests: write
 jobs:
   upgrade_wrapper:
     name: Execution