Skip to content

chore(policy): turn on the duplicate, sensitive-paths and risk rules - #649

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-11542-turn-on-the-duplicate-sensitive-paths-and-risk-rules
Oct 26, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-11542-turn-on-the-duplicate-sensitive-paths-and-risk-rules

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Closes CL-11542

What changed

  • .corbits-triage.yml turns on four built-in rules with their defaults: no duplicate (fails when another open pull request has the same diff or commits), duplicates an open pull request (asks a maintainer on overlap), sensitive paths (asks on schema, migration, auth and secret changes; labels CI config and lockfile changes sensitive: medium) and risk (asks on high risk, labels medium).
  • CI runs the policy check action from current main, which knows the four rule ids, so this file can pass the check.
  • The existing actions stay: a failed pull request without a linked issue is closed, any other failure gets a changes request, and Unsure assigns a maintainer.

Verified

  • The policy check on this pull request reads the new file and passes with the new pin. The contracts validator reads the file for this repository and names all four rules.
  • Merge only after the hub build that knows these rule ids is deployed and upgraded, or the policy stops reading.

@linear-code

linear-code Bot commented Oct 26, 2026

Copy link
Copy Markdown

CL-11542

@TheGreatAxios
TheGreatAxios marked this pull request as ready for review October 26, 2026 22:59
@corbits-triage

corbits-triage Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Triage: Fail

@TheGreatAxios, please address the following:

  • required checks are failing: policy

Triage will request changes.

@corbits-triage corbits-triage Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Triage requests changes:

  • CI green: required checks are failing

@corbits-triage corbits-triage Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Triage requests changes:

  • CI green: required checks are failing

@TheGreatAxios
TheGreatAxios force-pushed the cl-11542-turn-on-the-duplicate-sensitive-paths-and-risk-rules branch from 1548d84 to 7668b6b Compare October 26, 2026 23:25
@TheGreatAxios
TheGreatAxios merged commit 3c12ef0 into main Oct 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant