mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[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.
This commit is contained in:
parent
ac5e20d59c
commit
2656adbc87
1 changed files with 2 additions and 2 deletions
4
.github/workflows/codeql.yml
vendored
4
.github/workflows/codeql.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue