From 6e2a346315c13d31f20253811c7536f4326a29e4 Mon Sep 17 00:00:00 2001 From: Seedgou Date: Tue, 29 Oct 2024 16:38:53 +0800 Subject: [PATCH] fix: add permissions in github actions to upload assets to releases --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0c777e..c3fba36 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,9 @@ on: release: types: [published] +permissions: + contents: write + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true