ci: fix workflow permissions

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2024-10-29 09:48:47 +01:00
parent 181348397c
commit 6b2dc8ce56
4 changed files with 9 additions and 8 deletions

View File

@@ -229,8 +229,6 @@ jobs:
permissions:
# required to write sarif report
security-events: write
# required to check out the repository
contents: read
steps:
-
name: Checkout
@@ -404,6 +402,9 @@ jobs:
release:
runs-on: ubuntu-24.04
permissions:
# required to create GitHub release
contents: write
needs:
- test-integration
- test-unit