SRE-797: Require Linear issue IDs on Claude-authored PRs#76
Merged
TimDiekmann merged 1 commit intoJul 10, 2026
Merged
Conversation
PR SummaryLow Risk Overview Claude and other GitHub App–opened PRs are subject to the same title rule as human PRs. Header comments and the failure step summary text were updated to describe the narrowed exemption. Reviewed by Cursor Bugbot for commit 858506b. Bugbot is set up for automated code reviews on this repo. Configure here. |
TimDiekmann
approved these changes
Jul 10, 2026
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.
Requested via Slack thread
What
Before: any PR opened by a bot account (
pull_request.user.type == 'Bot') skipped the "PR title / Linear Issue ID" check entirely — including PRs authored by Claude.After: only
dependabot[bot]andhash-worker[bot](the account that actually opens renovate PRs) skip the check. PRs opened by Claude — or any other GitHub App / bot account — now fail the check unless the title starts with a Linear issue ID, same as human-authored PRs.How
In
.github/workflows/preflight-pr-title.yml, the job-levelifcondition on thecheck("Linear Issue ID") job no longer testsgithub.event.pull_request.user.type != 'Bot'. It now uses an explicit allowlist:The event-name conditions are unchanged. The header comment and the failure/help message in the step summary are updated to match the new behaviour.
Exempt logins confirmed by Tim:
dependabot[bot]andhash-worker[bot](renovate[bot]itself does not open PRs here).Closes SRE-797.