mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[ci] Triage codeql results (#191497)
This commit is contained in:
parent
f01f68e059
commit
5bb42e5b1e
1 changed files with 26 additions and 0 deletions
26
.github/workflows/codeql.yml
vendored
26
.github/workflows/codeql.yml
vendored
|
@ -54,3 +54,29 @@ jobs:
|
|||
category: "/language:${{matrix.language}}"
|
||||
ref: ${{ env.CHECKOUT_REF }}
|
||||
sha: ${{ env.CHECKOUT_SHA }}
|
||||
|
||||
- name: Checkout kibana-operations
|
||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||
with:
|
||||
repository: 'elastic/kibana-operations'
|
||||
ref: main
|
||||
path: ./kibana-operations
|
||||
token: ${{secrets.KIBANAMACHINE_TOKEN}}
|
||||
|
||||
- name: CodeQL alert
|
||||
working-directory: ./kibana-operations/triage
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.KIBANAMACHINE_TOKEN}}
|
||||
SLACK_TOKEN: ${{secrets.CODE_SCANNING_SLACK_TOKEN}}
|
||||
run: |
|
||||
npm ci --omit=dev
|
||||
node codeql-alert
|
||||
|
||||
- name: CodeQL alert statistics
|
||||
working-directory: ./kibana-operations/triage
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.KIBANAMACHINE_TOKEN}}
|
||||
SLACK_TOKEN: ${{secrets.CODE_SCANNING_SLACK_TOKEN}}
|
||||
run: |
|
||||
npm ci --omit=dev
|
||||
node codeql-alert-stats
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue