From 96e1c92685498cb9b3b6d4ebce8f6247a855a15c Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 5 Dec 2023 10:57:28 +0800 Subject: [PATCH] refactor: remove unnecessary permissions and add write permission for contents - Remove the `actions: read` permission - Remove the `contents: read` permission - Remove the `statuses: write` permission - Remove the `concurrency` section - Add the `contents: write` permission Signed-off-by: Bo-Yi Wu --- .github/workflows/goreleaser.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 8220457..8087c46 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -6,13 +6,7 @@ on: - "*" permissions: - actions: read - contents: read - statuses: write - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true + contents: write jobs: goreleaser: