Skip to content

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

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
Restores the PR title lint workflow on public repos by changing the GitHub Actions trigger from pull_request_target to pull_request in lint-pr-title.yml.

Event types (opened, edited, synchronize) and pull-requests: read permissions are unchanged. The reusable launchdarkly/gh-actions lint job behavior is the same; only the event source changes so the workflow can start under GitHub’s default restrictions on pull_request_target.

Reviewed by Cursor Bugbot for commit 714f441. 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:22
@keelerm84
keelerm84 requested a review from a team as a code owner December 4, 2026 19:22

@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 rule 3 (Approve only allowed workflow changes): this switches a GitHub Actions trigger rather than bumping an existing action or runtime version. Human review is needed and no reviewers were assigned.

Open in Web View Automation 

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

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