mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[CodeQL] Added bootstrap step (#191746)
## Summary
Added bootstrap step before CodeQL scan.
Tested the run on push -
2942236822
.
The workflow run was successful and had almost the same timing. Although
no new issues were identified, it's safe to keep the bootstrap step
before the scan.
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
de32af6b4d
commit
37bd5f6781
1 changed files with 7 additions and 8 deletions
15
.github/workflows/codeql.yml
vendored
15
.github/workflows/codeql.yml
vendored
|
@ -32,14 +32,13 @@ jobs:
|
|||
languages: ${{ matrix.language }}
|
||||
config-file: ./.github/codeql/codeql-config.yml
|
||||
|
||||
# TODO: Possibly required to follow all call paths, however, when enabled, the step below runs out of memory.
|
||||
# Possible workarounds: Apply for access to the GitHub beta where we can use beefier machines, or run it ourselves on Buildkite
|
||||
# - name: yarn kbn bootstrap
|
||||
# run: |
|
||||
# mkdir ~/.npm-global
|
||||
# npm config set prefix '~/.npm-global'
|
||||
# export PATH=~/.npm-global/bin:$PATH
|
||||
# yarn kbn bootstrap --no-validate --no-vscode
|
||||
- name: setup node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: yarn kbn bootstrap
|
||||
run: |
|
||||
yarn kbn bootstrap --no-validate --no-vscode
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@883d8588e56d1753a8a58c1c86e88976f0c23449 # v3.26.3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue