ci: check PR author instead of actor for E2E skip#432
Merged
Conversation
|
github.actor is whoever pushed last, not the PR author. When another bot merges main into a dependabot PR, the actor changes. Use github.event.pull_request.user.login to reliably detect dependabot PRs.
clutz-bot
Bot
force-pushed
the
fix/skip-e2e-dependabot
branch
from
May 24, 2026 06:52
fea1a94 to
316db6c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #431.
github.actoris whoever pushed last — when another bot (e.g. clutz-bot merging main) pushes to a dependabot PR branch, the actor changes and the E2E job incorrectly runs.Switch to
github.event.pull_request.user.loginwhich is the actual PR author, so dependabot PRs are reliably skipped regardless of who pushed last.