From 2c5f48ce3230c3e96c4e33168ea0e218df145bed Mon Sep 17 00:00:00 2001 From: Yicong-Huang <17627829+Yicong-Huang@users.noreply.github.com> Date: Wed, 29 Jul 2026 17:42:29 -0400 Subject: [PATCH] Skip template check for renovate-bot's User account The contributor-checks job gated on `sender.type != 'Bot'` to avoid nagging automated PR/issue openers about the template. That catches GitHub App bots (dependabot) but not Renovate, which runs under a regular User account (`renovate-bot`, type: User) and so slipped through and got the "description doesn't follow the template" warning on its dependency-update PRs. Exclude `renovate-bot` explicitly by login. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/contributor-checks.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/contributor-checks.yml b/.github/workflows/contributor-checks.yml index 2f8592a4f8b..e643859e032 100644 --- a/.github/workflows/contributor-checks.yml +++ b/.github/workflows/contributor-checks.yml @@ -51,7 +51,13 @@ permissions: jobs: contributor-checks: - if: github.event.sender.type != 'Bot' + # Skip automated PR/issue openers. GitHub App bots (e.g. dependabot) + # have sender.type == 'Bot', but Renovate runs under a regular User + # account (`renovate-bot`, type: User) and would otherwise be nagged + # for not following the template, so exclude it explicitly by login. + if: >- + github.event.sender.type != 'Bot' && + github.event.sender.login != 'renovate-bot' runs-on: ubuntu-latest steps: # pull_request_target and issues both resolve to the trusted base