Skip to content

Commit f99b97d

Browse files
abueideclaude
andauthored
fix(ci): skip e2e-tests workflow for Dependabot PRs (#1209)
Dependabot PRs don't have access to repository secrets for security reasons, which causes the e2e-tests workflow to fail when trying to access secrets.E2E_TESTS_TOKEN. Update the workflow condition to skip Dependabot PRs in addition to fork PRs, since both lack access to repository secrets. Fixes: All 25 open Dependabot PRs failing with "Input required and not supplied: token" error. Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent c74b4b4 commit f99b97d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ on:
2222

2323
jobs:
2424
e2e-tests:
25-
# Skip on fork PRs where repo secrets aren't available
26-
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
25+
# Skip on fork PRs and Dependabot PRs where repo secrets aren't available
26+
if: ${{ github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]') }}
2727
runs-on: ubuntu-latest
2828

2929
steps:

0 commit comments

Comments
 (0)