You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(review): key the generated skill's linked-issue trigger off gate mode (#9924)
hasStrictLinkedIssueRule fired on requireLinkedIssue + a non-optional
linkedIssuePolicy, which is advisory-only and never blocks a PR on its
own. That let the generated SKILL.md's trigger sentence say "a linked
issue is required" right above a Linked-issues section reporting
"Required: no" for the same repo. linkedIssueGateMode is the actual
enforcement authority (matches the identical assertion already used in
repo-doc-render.ts), so key off that instead.
Co-authored-by: bitfathers94 <237535319+bitfathers94@users.noreply.github.com>
["gate + multi-stage CI (2 of 3)",contributionWorkflow({gatePublishesCheck: true,ciWorkflowFiles: [".github/workflows/a.yml",".github/workflows/b.yml"]}),true],
32
-
["strict linked issue + multi-stage CI (2 of 3)",contributionWorkflow({requireLinkedIssue: true,linkedIssuePolicy: "preferred",ciWorkflowFiles: [".github/workflows/a.yml",".github/workflows/b.yml"]}),true],
33
-
["all three signals (3 of 3)",contributionWorkflow({gatePublishesCheck: true,requireLinkedIssue: true,linkedIssuePolicy: "required",ciWorkflowFiles: [".github/workflows/a.yml",".github/workflows/b.yml"]}),true],
32
+
["strict linked issue + multi-stage CI (2 of 3)",contributionWorkflow({requireLinkedIssue: true,linkedIssuePolicy: "preferred",linkedIssueGateMode: "block",ciWorkflowFiles: [".github/workflows/a.yml",".github/workflows/b.yml"]}),true],
33
+
["all three signals (3 of 3)",contributionWorkflow({gatePublishesCheck: true,requireLinkedIssue: true,linkedIssuePolicy: "required",linkedIssueGateMode: "block",ciWorkflowFiles: [".github/workflows/a.yml",".github/workflows/b.yml"]}),true],
0 commit comments