Skip to content

Commit

Permalink
Update codeql.yml to allow for private repositories to be checked-out.
Browse files Browse the repository at this point in the history
Added additional permissions for the analyze job so the action is able to checkout the code of it is a private repository. Otherwise a "repository <repository> not found" error is displayed.
  • Loading branch information
southernsun authored and jasontaylordev committed Nov 18, 2024
1 parent 81e5ae1 commit bb8de2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

steps:
Expand Down

0 comments on commit bb8de2d

Please sign in to comment.