From 92bdc3757f078138fe34a87c9db1b497fc00f68f Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 13 Oct 2023 09:39:02 -0700 Subject: [PATCH] Ignore the failures of CodeQL It randomly fails like this: https://github.com/ruby/ruby/actions/runs/6510372995/job/17683918027 and we don't want to pay for and use a larger runner for the job that only generates false positives most of the time. --- .github/workflows/codeql-analysis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 66f95f2ef5..62fc35c1ed 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -79,6 +79,9 @@ jobs: upload: False output: sarif-results ram: 8192 + # CodeQL randomly hits `OutOfMemoryError "Java heap space"`. + # GitHub recommends running a larger runner to fix it, but we don't pay for it. + continue-on-error: true - name: filter-sarif uses: advanced-security/filter-sarif@f3b8118a9349d88f7b1c0c488476411145b6270d # v1.0