Skip to content

Commit

Permalink
[CodeQL] Added env var to skip types for 8.x branch (elastic#205257)
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
elena-shostak authored Dec 30, 2024
1 parent ac5e20d commit 2656adb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2656adb

Please sign in to comment.