From 3beaa6abf4db2b60284a53ee38dba697c285e985 Mon Sep 17 00:00:00 2001 From: "Strittmatter, Stephan" Date: Tue, 21 May 2024 23:01:48 +0200 Subject: [PATCH] fix(CI): permissions --- .github/workflows/build.yml | 2 -- .github/workflows/release.yml | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 37ac51e..8cf5825 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,8 +12,6 @@ on: branches: [master] pull_request: branches: [master] - release: - branches: [master] permissions: checks: write diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0691f2..03f6f46 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,12 @@ name: Publish package on: release: types: [created] + +permissions: + checks: write + pull-requests: write + contents: write + jobs: publish: runs-on: ubuntu-latest