diff options
Diffstat (limited to '.github/workflows/codeql-analysis.yml')
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index bb43f7d50..c16fd732c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml | |||
@@ -44,14 +44,6 @@ jobs: | |||
44 | name: Analyze | 44 | name: Analyze |
45 | runs-on: ubuntu-latest | 45 | runs-on: ubuntu-latest |
46 | 46 | ||
47 | strategy: | ||
48 | fail-fast: false | ||
49 | matrix: | ||
50 | language: [ 'cpp', 'python' ] | ||
51 | # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] | ||
52 | # Learn more: | ||
53 | # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed | ||
54 | |||
55 | steps: | 47 | steps: |
56 | - name: Harden Runner | 48 | - name: Harden Runner |
57 | uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 | 49 | uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 |
@@ -60,10 +52,8 @@ jobs: | |||
60 | egress-policy: block | 52 | egress-policy: block |
61 | allowed-endpoints: > | 53 | allowed-endpoints: > |
62 | api.github.com:443 | 54 | api.github.com:443 |
63 | files.pythonhosted.org:443 | ||
64 | github.com:443 | 55 | github.com:443 |
65 | objects.githubusercontent.com:443 | 56 | objects.githubusercontent.com:443 |
66 | pypi.org:443 | ||
67 | uploads.github.com:443 | 57 | uploads.github.com:443 |
68 | 58 | ||
69 | - name: Checkout repository | 59 | - name: Checkout repository |
@@ -76,7 +66,7 @@ jobs: | |||
76 | - name: Initialize CodeQL | 66 | - name: Initialize CodeQL |
77 | uses: github/codeql-action/init@5b6282e01c62d02e720b81eb8a51204f527c3624 | 67 | uses: github/codeql-action/init@5b6282e01c62d02e720b81eb8a51204f527c3624 |
78 | with: | 68 | with: |
79 | languages: ${{ matrix.language }} | 69 | languages: cpp |
80 | 70 | ||
81 | # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | 71 | # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). |
82 | # If this step fails, then you should remove it and run the build manually (see below) | 72 | # If this step fails, then you should remove it and run the build manually (see below) |