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:
Weihan Li
2024-09-08 15:11:22 +08:00
committed by GitHub
parent 48f5667e79
commit 1f71c47932

View File

@@ -1,5 +1,10 @@
name: "CodeQL" name: "CodeQL"
permissions:
actions: read
contents: read
security-events: write
on: on:
push: push:
branches: [ master ] branches: [ master ]