fix(ci): skip e2e tests on Dependabot PRs

Dependabot PRs can't access repo secrets, so e2e tests always fail
with missing CODEFLASH_API_KEY. Skip all three e2e job groups
(Python, JS, Java) when the actor is dependabot[bot]. The gate job
already accepts skipped jobs.
This commit is contained in:
Kevin Turcios 2026-04-23 05:20:46 -05:00
parent 25ba54e3e7
commit 8fe6b8fd56

View file

@ -322,6 +322,7 @@ jobs:
if: >-
needs.determine-changes.outputs.e2e == 'true'
&& github.event_name != 'push'
&& github.actor != 'dependabot[bot]'
strategy:
fail-fast: false
matrix:
@ -425,6 +426,7 @@ jobs:
if: >-
needs.determine-changes.outputs.e2e_js == 'true'
&& github.event_name != 'push'
&& github.actor != 'dependabot[bot]'
strategy:
fail-fast: false
matrix:
@ -508,6 +510,7 @@ jobs:
if: >-
needs.determine-changes.outputs.e2e_java == 'true'
&& github.event_name != 'push'
&& github.actor != 'dependabot[bot]'
strategy:
fail-fast: false
matrix: