Skip to content

Commit

Permalink
Add correct permissions to code-ql workflow (#333)
Browse files Browse the repository at this point in the history
* Add read-all permissions to code-ql workflow

* Set permissions to recommended values for codeql

---------

Co-authored-by: Ben Watson <[email protected]>
  • Loading branch information
benmwatson and Ben Watson authored Feb 8, 2024
1 parent 2778296 commit 3d6b2b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
security-events: write
steps:
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
Expand Down

0 comments on commit 3d6b2b0

Please sign in to comment.