From 35fba6e1ed3badd2eb87d19acb7411e6eeb23e99 Mon Sep 17 00:00:00 2001 From: Patrick Kurmann Date: Thu, 25 Apr 2024 15:41:51 +0000 Subject: [PATCH] set permissions for package writing and contents --- .github/workflows/publish_package.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/publish_package.yml b/.github/workflows/publish_package.yml index 4f4a845..d15d2ec 100644 --- a/.github/workflows/publish_package.yml +++ b/.github/workflows/publish_package.yml @@ -5,6 +5,11 @@ on: types: [published] workflow_dispatch: # Erlaubt manuelles Auslösen des Workflows über die GitHub-Oberfläche +permissions: + contents: write + packages: write + pull-requests: read + env: CSPROJ_FILE: Templates.csproj DOTNET_VERSION: '8.0.x'