From 2656adbc87a48383c6a6a56f4fc374c880acc896 Mon Sep 17 00:00:00 2001 From: Elena Shostak <165678770+elena-shostak@users.noreply.github.com> Date: Mon, 30 Dec 2024 14:35:38 +0100 Subject: [PATCH] [CodeQL] Added env var to skip types for 8.x branch (#205257) ## Summary Added `CODEQL_EXTRACTOR_JAVASCRIPT_OPTION_SKIP_TYPES` env var for `8.x` branch to check if that speeds up the CodeQL run, refer to [documentation](https://codeql.github.com/docs/codeql-overview/codeql-changelog/codeql-cli-2.15.5/) for details. --- .github/workflows/codeql.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 291f869c82bf8..ea18312df3cc8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -47,8 +47,8 @@ jobs: echo "CHECKOUT_SHA=$(git rev-parse HEAD)" >> "$GITHUB_ENV" - name: Set experimental environment variable for 8.x branch - if: env.CHECKOUT_REF == 'refs/heads/8.x' - run: echo "CODEQL_EXTRACTOR_JAVASCRIPT_OPTION_SKIP_TYPES=true" >> "$GITHUB_ENV" + if: env.CHECKOUT_REF == 'refs/heads/8.x' + run: echo "CODEQL_EXTRACTOR_JAVASCRIPT_OPTION_SKIP_TYPES=true" >> "$GITHUB_ENV" - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@883d8588e56d1753a8a58c1c86e88976f0c23449 # v3.26.3