Skip to content

Commit

Permalink
Fix CodeQL language config (#690)
Browse files Browse the repository at this point in the history
* Fix CodeQL language config

* Remove dup perms

* Remove unnecessary lang
  • Loading branch information
sfoslund authored Aug 27, 2024
1 parent 5e1b579 commit cfc6f2a
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,26 @@ on:
env:
CODEQL_BUILD: True

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

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]

steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Initialize CodeQL
uses: github/codeql-action/init@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0
with:
languages: csharp

- name: Autobuild
uses: github/codeql-action/autobuild@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0
Expand Down

0 comments on commit cfc6f2a

Please sign in to comment.