Skip to content

ci: skip live GitHub tests on Dependabot runs - #861

Closed
behinddwalls wants to merge 1 commit into
mainfrom
ci/skip-live-github-on-dependabot
Closed

behinddwalls wants to merge 1 commit into
mainfrom
ci/skip-live-github-on-dependabot

Conversation

@behinddwalls

@behinddwalls behinddwalls commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Why?

Dependabot-triggered workflows only receive Dependabot secrets, so SQ_TEST_REPO_TOKEN is empty. The same-repo check still set SQ_GITHUB_TEST_REQUIRED=true, failing the merger and e2e jobs on every Dependabot PR (e.g. #853).

What?

  • Treat github.actor == 'dependabot[bot]' like a fork PR: the live GitHub tests skip instead of failing.

Test Plan

## Summary

### Why?

Dependabot-triggered workflows only receive Dependabot secrets, so `SQ_TEST_REPO_TOKEN` is empty. The same-repo check still set `SQ_GITHUB_TEST_REQUIRED=true`, failing the merger and e2e jobs on every Dependabot PR (e.g. #853).

### What?

- Treat `github.actor == 'dependabot[bot]'` like a fork PR: the live GitHub tests skip instead of failing.

## Test Plan

- ✅ Workflow YAML parses; `githubtestrepo.New` skips when the token is empty and the required flag is false.
- Post-merge: `@dependabot rebase` on #853 and confirm the Merger Extension Test passes (skipped live cases).
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.

1 participant