Browse Source

Use pull-request: write for gradlew updates

Explicitly provide the permissions required for updating the Gradle
wrapper
Rob Winch 3 tháng trước cách đây
mục cha
commit
9436796973
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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