Skip to content

Skip e2e tests gracefully on fork PRs - #221

Merged
ggallen merged 1 commit into
mainfrom
fix/e2e-skip-fork-prs
Apr 10, 2026
Merged

ggallen merged 1 commit into
mainfrom
fix/e2e-skip-fork-prs

Conversation

@ralphbean

Copy link
Copy Markdown
Member

Summary

  • Adds a secrets-check step that detects when E2E_GITHUB_SESSION is unavailable and skips e2e tests with a ::warning:: annotation instead of failing
  • Gates the decode-session, run-e2e, and screenshot-upload steps on the secrets-check output
  • Adds push trigger on main so merged fork contributions still get e2e coverage

Fixes #209

Test plan

  • Verify the workflow passes on this same-repo PR (secrets available, e2e runs normally)
  • Verify a fork PR no longer fails on the e2e job (secrets unavailable, steps are skipped with warning)
  • Verify pushes to main trigger e2e tests

🤖 Generated with Claude Code

Fork PRs cannot access repository secrets, causing the e2e workflow to
fail at the "Decode session" step. Add a secrets-check step that detects
missing credentials and skips e2e with a warning annotation instead of
failing. Also trigger e2e on pushes to main so merged fork contributions
still get e2e coverage.

Fixes #209

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ggallen
ggallen added this pull request to the merge queue Apr 10, 2026
Merged via the queue into main with commit 278ef03 Apr 10, 2026
1 check passed
@ggallen
ggallen deleted the fix/e2e-skip-fork-prs branch April 10, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

E2E tests fail on fork PRs due to inaccessible secrets

2 participants