From 3b1457d70da73a216ba7e54725a0c8a1021b1cea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr?= Date: Tue, 6 Feb 2024 16:15:32 +0100 Subject: [PATCH] Use explicit write permission to create a release --- .github/workflows/create-release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 63432c70..8158c15f 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -52,6 +52,9 @@ jobs: name: Create release if: "!contains(github.event.head_commit.message, '[no release]')" runs-on: self-hosted + permissions: + # needed to create a release + contents: write needs: new-version steps: - uses: actions/checkout@v3