From dc0a8d7bbc3d22e05d2434558fe708e15d2c4ebb Mon Sep 17 00:00:00 2001 From: Stephan Brandauer Date: Fri, 24 Jan 2025 11:53:21 +0100 Subject: [PATCH] add permissions block to autobuild-action.yml --- .github/workflows/__autobuild-action.yml | 1 - pr-checks/checks/autobuild-action.yml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/__autobuild-action.yml b/.github/workflows/__autobuild-action.yml index 497f668a08..503af44db6 100644 --- a/.github/workflows/__autobuild-action.yml +++ b/.github/workflows/__autobuild-action.yml @@ -36,7 +36,6 @@ jobs: name: autobuild-action permissions: contents: read - security-events: write timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/pr-checks/checks/autobuild-action.yml b/pr-checks/checks/autobuild-action.yml index 5e0c0ee2a2..cde79a9506 100644 --- a/pr-checks/checks/autobuild-action.yml +++ b/pr-checks/checks/autobuild-action.yml @@ -1,6 +1,8 @@ name: "autobuild-action" description: "Tests that the C# autobuild action works" versions: ["linked"] +permissions: + contents: read steps: - uses: ./../action/init with: