From 923d8df5787d284883c608d89b66aefe2444d98b Mon Sep 17 00:00:00 2001 From: Vivek Chand Date: Sat, 12 Sep 2026 15:51:51 +0200 Subject: [PATCH] ci: skip Cross-Browser Tests on Dependabot PRs Dependabot PRs run in a restricted GitHub Actions context where repository secrets (BROWSERSTACK_USERNAME, BROWSERSTACK_ACCESS_KEY) are not passed. The setup-env action fails with "Input required and not supplied: username", failing the E2E Gate on every Dependabot PR. Add a job-level condition to skip the entire cross-browser job when the actor is dependabot[bot]. The test coverage provided by BrowserStack is not relevant to dependency bumps in lock files and CI scanner requirements. No-PRD: CI infrastructure fix, no product behaviour change. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01LAkDSjSE565ZtADVdfRnie --- .github/workflows/browserstack.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index edf256567b..c18df37758 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -18,6 +18,8 @@ jobs: name: Cross-Browser Tests runs-on: ubuntu-latest timeout-minutes: 15 + # Dependabot PRs run without repo secrets; skip rather than fail. + if: github.actor != 'dependabot[bot]' steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1