Browse Source

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 years ago
parent
commit
8649be0599
1 changed files with 2 additions and 0 deletions
  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