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

Add contents write permission to create release

A GitHub Actions job has read-only permission by default and it cannot
create releases without configurations. Adding the contents write
permission enables the make-release job to create a release.
Kaito Udagawa преди 2 години
родител
ревизия
8649be0599
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      .github/workflows/main.yml

+ 2 - 0
.github/workflows/main.yml

@@ -356,6 +356,8 @@ jobs:
     defaults:
       run:
         shell: bash
+    permissions:
+      contents: write
     steps:
       - name: Checkout
         uses: actions/checkout@v3