Skip to content

fix(ci): skip e2e tests on Dependabot PRs#2110

Merged
KRRT7 merged 1 commit intomainfrom
fix/skip-e2e-on-dependabot
Apr 23, 2026
Merged

fix(ci): skip e2e tests on Dependabot PRs#2110
KRRT7 merged 1 commit intomainfrom
fix/skip-e2e-on-dependabot

Conversation

@KRRT7
Copy link
Copy Markdown
Collaborator

@KRRT7 KRRT7 commented Apr 23, 2026

Linked issue or discussion

Relates to #2102 — Dependabot's better-sqlite3 bump failed all JS e2e tests because secrets aren't available.

What changed

Added && github.actor != 'dependabot[bot]' to the if condition on all three e2e job groups (Python, JS, Java). Dependabot PRs can't access repo secrets (CODEFLASH_API_KEY, POSTHOG_API_KEY), so e2e tests always fail with missing credentials. The gate job already accepts skipped as passing.

Test plan

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.
@github-actions github-actions Bot added the workflow-modified This PR modifies GitHub Actions workflows label Apr 23, 2026
@KRRT7 KRRT7 merged commit 5c0c90d into main Apr 23, 2026
14 checks passed
@KRRT7 KRRT7 deleted the fix/skip-e2e-on-dependabot branch April 23, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

workflow-modified This PR modifies GitHub Actions workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant