Skip to content

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

Open
amanabiy wants to merge 1 commit into
mainfrom
chore/lint-pr-pull-request-trigger
Open

amanabiy wants to merge 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.

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

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 cansuaa 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 100.00%. Comparing base (b4f14ec) to head (90e2081).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #194   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines           81        81           
  Branches        21        21           
=========================================
  Hits            81        81           

☔ 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

This branch was successfully deployed

1 active deployment
dev-pages — 90e20819 Deployed Dec 4, 2026 by amanabiy via deploy / deploy #732
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.

1 participant