From 9f664e193bd4b0e213ac992f2716d711297ccfb0 Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Fri, 7 Jul 2023 15:23:43 -0700 Subject: [PATCH] CodeQL wasn't running on a cronjob (#27820) --- .github/actions/perform-codeql-analysis/action.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/actions/perform-codeql-analysis/action.yaml b/.github/actions/perform-codeql-analysis/action.yaml index ff63a60665f08c..af12a9e716ee61 100644 --- a/.github/actions/perform-codeql-analysis/action.yaml +++ b/.github/actions/perform-codeql-analysis/action.yaml @@ -8,14 +8,12 @@ runs: using: "composite" steps: - name: Perform CodeQL Analysis - if: ${{ inputs.run-codeql }} uses: github/codeql-action/analyze@v2 with: category: "/language:${{ inputs.language }}" upload: False output: sarif-results - name: filter-sarif - if: ${{ inputs.run-codeql }} uses: advanced-security/filter-sarif@v1 with: patterns: | @@ -25,12 +23,10 @@ runs: output: "sarif-results/${{ inputs.language }}.sarif" - name: Upload SARIF - if: ${{ inputs.run-codeql }} uses: github/codeql-action/upload-sarif@v2 with: sarif_file: "sarif-results/${{ inputs.language }}.sarif" - name: Upload loc as a Build Artifact - if: ${{ inputs.run-codeql }} uses: actions/upload-artifact@v2.2.0 with: name: sarif-results