fix release action (#2951)
* fix release action Signed-off-by: strailov <Stanislav.Trailov@bosch.io> * revert trivy to only read Signed-off-by: strailov <Stanislav.Trailov@bosch.io> --------- Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
This commit is contained in:
committed by
GitHub
parent
5d5c159aed
commit
5ad3c61a94
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user