Skip to content

ci: skip check-rfc for bot-authored PRs#193

Merged
filvecchiato merged 3 commits into
mainfrom
ci/fix-check-rfc-bot-skip
Jun 4, 2026
Merged

ci: skip check-rfc for bot-authored PRs#193
filvecchiato merged 3 commits into
mainfrom
ci/fix-check-rfc-bot-skip

Conversation

@filvecchiato
Copy link
Copy Markdown
Collaborator

Summary

  • github.actor reflects whoever triggered the workflow run (e.g. a maintainer re-running CI), not the PR author
  • Changed to github.event.pull_request.user.login which correctly identifies github-actions[bot] as the PR creator
  • Fixes check-rfc failures on auto-generated RFC index PRs (ci: update RFC index #167, ci: update RFC index #173)

Use github.event.pull_request.user.login instead of github.actor
to detect bot PRs. The actor field reflects whoever triggered the
run, not the PR author.
@filvecchiato filvecchiato requested a review from a team June 4, 2026 08:40
@filvecchiato filvecchiato enabled auto-merge June 4, 2026 08:41
@filvecchiato filvecchiato merged commit 18a6a75 into main Jun 4, 2026
11 checks passed
@filvecchiato filvecchiato deleted the ci/fix-check-rfc-bot-skip branch June 4, 2026 19:30
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.

2 participants