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 }}