Skip to content

Commit

Permalink
[ci] Run codeql alerts after analyze matrix (elastic#193217)
Browse files Browse the repository at this point in the history
Instead of alerting as each branch finishes, this waits for the entire
analyze run before sending out alerts.
  • Loading branch information
jbudz authored Sep 17, 2024
1 parent c12c361 commit d58e822
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ jobs:
category: "/language:${{matrix.language}}"
ref: ${{ env.CHECKOUT_REF }}
sha: ${{ env.CHECKOUT_SHA }}

alert:
name: Alert
runs-on: ubuntu-latest
needs: analyze
if: github.repository == 'elastic/kibana' # Hack: Do not run on forks
steps:
- name: Checkout kibana-operations
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
Expand Down

0 comments on commit d58e822

Please sign in to comment.