Update workflows with latest permissions.

This commit is contained in:
Alexander Shaduri
2024-05-28 11:19:51 +04:00
parent 844f6ed86f
commit 75f50cd5bb
2 changed files with 15 additions and 2 deletions
+8 -2
View File
@@ -25,10 +25,16 @@ jobs:
name: Analyze
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
# required for all workflows
security-events: write
# required to fetch internal or private CodeQL packs
#packages: read
# only required for workflows in private repositories
#actions: read
#contents: read
strategy:
fail-fast: false
matrix: