Skip to content

Commit

Permalink
Configure permissions for codeql (#1583)
Browse files Browse the repository at this point in the history
fixes codeql action error

see details: github/codeql#8843 (comment)
  • Loading branch information
WeihanLi authored Sep 8, 2024
1 parent 48f5667 commit 1f71c47
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: "CodeQL"

permissions:
actions: read
contents: read
security-events: write

on:
push:
branches: [ master ]
Expand Down

0 comments on commit 1f71c47

Please sign in to comment.