From 5ad3c61a948987e59530bc723c3c14ab59071133 Mon Sep 17 00:00:00 2001 From: Stanislav Trailov Date: Fri, 6 Mar 2026 09:41:59 +0200 Subject: [PATCH] fix release action (#2951) * fix release action Signed-off-by: strailov * revert trivy to only read Signed-off-by: strailov --------- Signed-off-by: strailov --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index dde572170..e35cf8dc3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,7 +20,7 @@ on: required: false permissions: - contents: read + contents: write security-events: write jobs: @@ -53,7 +53,7 @@ jobs: needs: tag uses: ./.github/workflows/reusable_workflow_license-scan.yaml permissions: - contents: read + contents: write with: ref: ${{ inputs.revision == '0-SNAPSHOT' && github.ref || inputs.revision }}