From c94daa21437c058ebf1e6a7f2051638472869dda Mon Sep 17 00:00:00 2001 From: Matti Nannt Date: Thu, 22 May 2025 12:33:05 +0200 Subject: [PATCH] fix: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/publish-to-maven-central.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish-to-maven-central.yml b/.github/workflows/publish-to-maven-central.yml index b5c6d8a..a155f8d 100644 --- a/.github/workflows/publish-to-maven-central.yml +++ b/.github/workflows/publish-to-maven-central.yml @@ -1,6 +1,8 @@ # .github/workflows/publish-to-maven-central.yml name: Publish to Maven Central +permissions: + contents: read on: release: types: [released]