diff options
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a4c4a1146..bb43f7d50 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml | |||
@@ -1,9 +1,4 @@ | |||
1 | # For most projects, this workflow file will not need changing; you simply need | 1 | name: CodeQL |
2 | # to commit it to your repository. | ||
3 | # | ||
4 | # You may wish to alter this file to override the set of languages analyzed, | ||
5 | # or to provide custom queries or build logic. | ||
6 | name: "CodeQL" | ||
7 | 2 | ||
8 | on: | 3 | on: |
9 | push: | 4 | push: |
@@ -43,9 +38,9 @@ permissions: # added using https://github.com/step-security/secure-workflows | |||
43 | jobs: | 38 | jobs: |
44 | analyze: | 39 | analyze: |
45 | permissions: | 40 | permissions: |
46 | actions: read # for github/codeql-action/init to get workflow details | 41 | actions: read |
47 | contents: read # for actions/checkout to fetch code | 42 | contents: read |
48 | security-events: write # for github/codeql-action/autobuild to send a status report | 43 | security-events: write |
49 | name: Analyze | 44 | name: Analyze |
50 | runs-on: ubuntu-latest | 45 | runs-on: ubuntu-latest |
51 | 46 | ||
@@ -82,10 +77,6 @@ jobs: | |||
82 | uses: github/codeql-action/init@5b6282e01c62d02e720b81eb8a51204f527c3624 | 77 | uses: github/codeql-action/init@5b6282e01c62d02e720b81eb8a51204f527c3624 |
83 | with: | 78 | with: |
84 | languages: ${{ matrix.language }} | 79 | languages: ${{ matrix.language }} |
85 | # If you wish to specify custom queries, you can do so here or in a config file. | ||
86 | # By default, queries listed here will override any specified in a config file. | ||
87 | # Prefix the list here with "+" to use these queries and those in the config file. | ||
88 | # queries: ./path/to/local/query, your-org/your-repo/queries@main | ||
89 | 80 | ||
90 | # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | 81 | # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). |
91 | # If this step fails, then you should remove it and run the build manually (see below) | 82 | # If this step fails, then you should remove it and run the build manually (see below) |