Skip to content

chore: Run the PR title lint on pull_request events - #450

Merged
keelerm84 merged 1 commit into
mainfrom
mk/lint-pr-title-pull-request
Dec 4, 2026
Merged

keelerm84 merged 1 commit into
mainfrom
mk/lint-pr-title-pull-request

Conversation

@keelerm84

@keelerm84 keelerm84 commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Summary

GitHub now blocks pull_request_target in public repositories by default. Since 2026-12-03, the Lint PR title workflow fails at startup on every PR here, and the PR gets no title check. The lint only reads the PR title, so the read-only pull_request token is enough. This switches the trigger to pull_request and keeps the same event types.

Opened from termag


Note

Overview
Updates the Lint PR title workflow so it runs on pull_request instead of pull_request_target, with the same types (opened, edited, synchronize) and unchanged pull-requests: read permissions.

This unblocks the check on public repos where GitHub now rejects pull_request_target by default; title linting does not need the elevated target workflow token.

Reviewed by Cursor Bugbot for commit 66f2728. Bugbot is set up for automated code reviews on this repo. Configure here.

@keelerm84
keelerm84 marked this pull request as ready for review December 4, 2026 19:21
@keelerm84
keelerm84 requested a review from a team as a code owner December 4, 2026 19:21

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium. Not approved under SDK rule 3 (Approve only allowed workflow changes): this is a GitHub Actions trigger change, not an action/runtime version bump. Human review is needed and no reviewers were assigned. Cursor Bugbot did not run on this PR.

Open in Web View Automation 

Sent by Cursor Approval Agent: SDK - Pull Request Router and Approver

@keelerm84
keelerm84 merged commit 9f5e497 into main Dec 4, 2026
8 checks passed
@keelerm84
keelerm84 deleted the mk/lint-pr-title-pull-request branch December 4, 2026 21:18
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