Configure permissions for codeql (#1583)
fixes codeql action error see details: https://github.com/github/codeql/issues/8843#issuecomment-1108467590
This commit is contained in:
5
.github/workflows/codeql-analysis.yml
vendored
5
.github/workflows/codeql-analysis.yml
vendored
@@ -1,5 +1,10 @@
|
||||
name: "CodeQL"
|
||||
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
||||
Reference in New Issue
Block a user