From 01b56a6300db786599dd88d7dd567f071d50e110 Mon Sep 17 00:00:00 2001 From: Sem Date: Thu, 30 Apr 2026 13:17:09 +0200 Subject: [PATCH] Potential fix for code scanning alert no. 3: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/scala-publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/scala-publish.yml b/.github/workflows/scala-publish.yml index ffd4ab745..dbd04ab26 100644 --- a/.github/workflows/scala-publish.yml +++ b/.github/workflows/scala-publish.yml @@ -7,6 +7,9 @@ on: tags: - "*.*.*" +permissions: + contents: read + # In the case of pushing the tag, it will publish the release. # In the case of pushing to the main, it will publish the SNAPSHOT