Skip to content

chore: Run PR title lint on pull_request instead of pull_request_target - #282

Merged
amanabiy merged 1 commit into
mainfrom
chore/lint-pr-pull-request-trigger
Dec 4, 2026
Merged

amanabiy merged 1 commit into
mainfrom
chore/lint-pr-pull-request-trigger

Conversation

@amanabiy

@amanabiy amanabiy commented Dec 4, 2026

Copy link
Copy Markdown
Member

Description

Since GitHub started enforcing its default pull_request_target policy for public repositories on 2026-12-02, every pull_request_target run of the Lint PR workflow ends in startup_failure with "GitHub restricts pull_request_target on public repositories by default". No check run is created, so the required dry-run / Validate PR title check stays pending on every PR. Example: https://github.com/cloudscape-design/components/actions/runs/47340447645

This PR changes the Lint PR workflow trigger from pull_request_target to pull_request. The title check only reads the PR title and needs no secrets, so pull_request is enough.

Related links, issue #, if available: same fix as cloudscape-design/components#5380

How has this been tested?

The dry-run / Validate PR title check runs and passes on this PR.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@amanabiy
amanabiy requested a review from a team as a code owner December 4, 2026 13:27
@amanabiy
amanabiy requested review from ernst-dev and removed request for a team December 4, 2026 13:27
@codecov

codecov Bot commented Dec 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.07%. Comparing base (50ee3ed) to head (40cd235).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #282   +/-   ##
=======================================
  Coverage   99.07%   99.07%           
=======================================
  Files          50       50           
  Lines        1411     1411           
  Branches      359      384   +25     
=======================================
  Hits         1398     1398           
+ Misses         13       12    -1     
- Partials        0        1    +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@amanabiy
amanabiy enabled auto-merge December 4, 2026 13:32
@amanabiy
amanabiy added this pull request to the merge queue Dec 4, 2026
Merged via the queue into main with commit 330c4f5 Dec 4, 2026
43 checks passed
@amanabiy
amanabiy deleted the chore/lint-pr-pull-request-trigger branch December 4, 2026 14:29
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