From 83cef4045127f170b5ccb0c5ddc9e279b90c44f3 Mon Sep 17 00:00:00 2001 From: Filippo Vecchiato Date: Thu, 4 Jun 2026 10:40:30 +0200 Subject: [PATCH] ci: skip check-rfc for bot-authored PRs 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. --- .github/workflows/check-rfc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-rfc.yml b/.github/workflows/check-rfc.yml index 11786298..ba3a7052 100644 --- a/.github/workflows/check-rfc.yml +++ b/.github/workflows/check-rfc.yml @@ -11,7 +11,7 @@ permissions: jobs: validate-rfc: - if: github.actor != 'github-actions[bot]' + if: github.event.pull_request.user.login != 'github-actions[bot]' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4