From 27dcdc5f81701872d86841ab7dd60fde19b77008 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Tue, 17 Sep 2024 14:11:16 -0500 Subject: [PATCH 1/2] [ci] Run codeql alerts after analyze matrix --- .github/workflows/codeql.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c563e4087519f..29389a0d2e510 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -54,7 +54,11 @@ jobs: category: "/language:${{matrix.language}}" ref: ${{ env.CHECKOUT_REF }} sha: ${{ env.CHECKOUT_SHA }} - + alert: + name: Alert + runs-on: ubuntu-latest + if: github.repository == 'elastic/kibana' # Hack: Do not run on forks + steps: - name: Checkout kibana-operations uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: From 9de47c53a7a06f19f7b5f882afb436052bcfad3d Mon Sep 17 00:00:00 2001 From: Jon Date: Tue, 17 Sep 2024 16:38:40 -0500 Subject: [PATCH 2/2] Update .github/workflows/codeql.yml --- .github/workflows/codeql.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 29389a0d2e510..87a022376ac93 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -57,6 +57,7 @@ jobs: 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