瀏覽代碼

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