From 7be96bafc0812e74b48e248443c14a3d235439c0 Mon Sep 17 00:00:00 2001 From: Marek Karwacki Date: Thu, 22 Feb 2024 08:07:29 +0100 Subject: [PATCH 1/2] ci: grant permissions to release-drafter --- .github/workflows/release-drafter.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index e8549d25..2ebbe5cd 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -4,6 +4,11 @@ on: # branches to consider in the event; optional, defaults to all branches: - main + +permissions: + id-token: write + contents: write + jobs: update_release_draft: runs-on: ubuntu-latest From f2f7f78609c63b7d355940c2319f520996156e97 Mon Sep 17 00:00:00 2001 From: Marek Karwacki Date: Thu, 22 Feb 2024 08:18:44 +0100 Subject: [PATCH 2/2] ci: grant permissions to release-drafter --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c76d579..a204b875 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -139,6 +139,9 @@ jobs: tests: name: "Unit tests" runs-on: ubuntu-22.04 + permissions: + checks: write + pull-requests: write steps: - name: cancel running workflows uses: RDXWorks-actions/cancel-workflow-action@main