@rmartz/pr-policy 1.4.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -41,6 +41,7 @@ pr-policy evaluate --pr 12 --repo rmartz/pr-policy # post the check-r
41
41
  pr-policy evaluate --pr 12 --repo rmartz/pr-policy --json # evaluate only, change nothing
42
42
  pr-policy evaluate --facts pr.json # offline, from a JSON facts file
43
43
  pr-policy evaluate --pr 12 --repo rmartz/pr-policy --skip-uat # for a repo with no UAT
44
+ pr-policy evaluate --pr 12 --repo rmartz/pr-policy --sign-off-status-creators "rmartz-merge-bot[bot]" # trust that App's pr-lifecycle/sign-off status
44
45
  pr-policy evaluate --sha <sha> --repo rmartz/pr-policy # re-run every open PR at that head (status trigger)
45
46
  ```
46
47
 
@@ -8,7 +8,7 @@ import {
8
8
  postVerdict,
9
9
  resolveRepoTarget,
10
10
  selectChecks
11
- } from "../chunk-5M7UKSAV.js";
11
+ } from "../chunk-KWZP3U4O.js";
12
12
 
13
13
  // src/bin/pr-policy.ts
14
14
  import { readFile } from "fs/promises";
@@ -27,7 +27,11 @@ var USAGE = `Usage:
27
27
  --facts Evaluate an offline JSON facts document ("-" reads stdin) and print
28
28
  the evaluation. Exits 1 only on "failure" ("pending" exits 0).
29
29
  --skip-uat
30
- Don't run the UAT gate, for a repo with no user-acceptance testing.`;
30
+ Don't run the UAT gate, for a repo with no user-acceptance testing.
31
+ --sign-off-status-creators <login,...>
32
+ GitHub App logins trusted to post the pr-lifecycle/sign-off status,
33
+ e.g. rmartz-merge-bot[bot]. Exact matches only; github-actions[bot]
34
+ is refused. A person who could merge is always trusted.`;
31
35
  async function readInput(path) {
32
36
  if (path !== "-") return readFile(path, "utf8");
33
37
  const chunks = [];
@@ -45,6 +49,7 @@ async function main(argv) {
45
49
  repo: { type: "string" },
46
50
  json: { type: "boolean" },
47
51
  "skip-uat": { type: "boolean" },
52
+ "sign-off-status-creators": { type: "string" },
48
53
  help: { type: "boolean", short: "h" }
49
54
  }
50
55
  });
@@ -56,7 +61,10 @@ async function main(argv) {
56
61
  console.error(USAGE);
57
62
  return 2;
58
63
  }
59
- const checks = selectChecks({ skipUat: values["skip-uat"] });
64
+ const checks = selectChecks({
65
+ skipUat: values["skip-uat"],
66
+ signOffStatusCreators: (values["sign-off-status-creators"] ?? "").split(",")
67
+ });
60
68
  if (values.facts !== void 0) {
61
69
  const evaluation = await evaluatePolicy(parseFacts(await readInput(values.facts)), checks);
62
70
  console.log(JSON.stringify(evaluation, null, 2));
@@ -88,21 +88,50 @@ function parseSignOffDescription(description) {
88
88
  if (waiver === void 0) return "`requirement=uat` needs `waiver=current`, `stale`, or `absent`";
89
89
  return { requirement, loosening, waiver };
90
90
  }
91
- function untrustedReason(status) {
92
- if (status.state !== "success") return `its state is \`${status.state}\`, not \`success\``;
93
- if (status.creator === void 0) return "GitHub names no account that posted it";
94
- const vetted = vet(status.creator);
91
+ var GITHUB_ACTIONS_BOT = "github-actions[bot]";
92
+ var CREATORS_OPTION = "`sign-off-status-creators` (CLI `--sign-off-status-creators`)";
93
+ function parseSignOffStatusCreators(entries) {
94
+ const logins = entries.map((entry) => entry.trim()).filter((entry) => entry !== "");
95
+ for (const login of logins) {
96
+ if (login.toLowerCase() === GITHUB_ACTIONS_BOT) {
97
+ throw new Error(
98
+ `${GITHUB_ACTIONS_BOT} can't be a sign-off status creator: any workflow in the repo can post as it.`
99
+ );
100
+ }
101
+ if (!login.endsWith("[bot]")) {
102
+ throw new Error(
103
+ `\`${login}\` isn't a GitHub App login: sign-off status creators end in \`[bot]\`. People are trusted by their repo permission, without being named.`
104
+ );
105
+ }
106
+ }
107
+ return [...new Set(logins)];
108
+ }
109
+ function untrustedCreator(creator, trustedBots) {
110
+ if (creator.type === "Bot") {
111
+ if (trustedBots.includes(creator.login)) return void 0;
112
+ if (creator.login.toLowerCase() === GITHUB_ACTIONS_BOT) {
113
+ return `it was posted by \`${creator.login}\`, which any workflow in the repo can post as`;
114
+ }
115
+ return `it was posted by \`${creator.login}\`, a GitHub App this caller doesn't trust. If it is the repo's pr-lifecycle App, name it in ${CREATORS_OPTION}`;
116
+ }
117
+ const vetted = vet(creator);
95
118
  return typeof vetted === "string" ? vetted : void 0;
96
119
  }
97
- function readSignOffStatus(pr) {
120
+ function readSignOffStatus(pr, trustedBots = []) {
98
121
  const status = pr.signOffStatus;
99
122
  if (status === void 0) return { kind: "absent" };
100
- const untrusted = untrustedReason(status);
101
- if (untrusted !== void 0) return { kind: "rejected", reason: untrusted };
123
+ const untrusted = status.creator === void 0 ? "GitHub names no account that posted it" : untrustedCreator(status.creator, trustedBots);
124
+ if (untrusted !== void 0) return { kind: "ignored", reason: untrusted };
125
+ if (status.state !== "success") {
126
+ return { kind: "rejected", reason: `its state is \`${status.state}\`, not \`success\`` };
127
+ }
102
128
  const parsed = parseSignOffDescription(status.description);
103
129
  if (typeof parsed === "string") return { kind: "rejected", reason: parsed };
104
130
  return { kind: "valid", classification: parsed, postedBy: status.creator?.login ?? "" };
105
131
  }
132
+ function ignoredStatusMessage(reason) {
133
+ return `Ignored the \`${SIGN_OFF_STATUS_CONTEXT}\` status on this head, because ${reason}. This check classified the PR itself instead.`;
134
+ }
106
135
  function rejectedStatusMessage(reason) {
107
136
  return `Waiting on pr-lifecycle: its \`${SIGN_OFF_STATUS_CONTEXT}\` status on this head can't be used, because ${reason}. pr-lifecycle posts a fresh one on its next run.`;
108
137
  }
@@ -625,11 +654,20 @@ var CI_CHANGE_CHECK = "ci-change";
625
654
  function indicatorMessage(indicator) {
626
655
  return `\`${indicator.file}\` \`${indicator.location}\` \u2014 ${indicator.kind} (${indicator.class}): ${indicator.detail}`;
627
656
  }
628
- function decideCiChange(classification, pr) {
629
- const reading = readSignOffStatus(pr);
657
+ function decideCiChange(classification, pr, trustedBots = []) {
658
+ const reading = readSignOffStatus(pr, trustedBots);
630
659
  switch (reading.kind) {
631
660
  case "valid":
632
661
  return decideFromStatus(classification, pr, reading.classification);
662
+ case "ignored": {
663
+ const result = decideWithoutStatus(classification, pr);
664
+ const note = {
665
+ check: CI_CHANGE_CHECK,
666
+ message: ignoredStatusMessage(reading.reason),
667
+ effect: "info"
668
+ };
669
+ return { ...result, findings: [...result.findings, note] };
670
+ }
633
671
  case "absent":
634
672
  case "rejected":
635
673
  return decideWithoutStatus(classification, pr);
@@ -699,10 +737,13 @@ function decideWithoutStatus(classification, pr) {
699
737
  labelsToRemove
700
738
  };
701
739
  }
702
- var ciChangeCheck = {
703
- name: CI_CHANGE_CHECK,
704
- evaluate: async (pr) => decideCiChange(classifyWorkflowChanges(pr.workflowChanges), pr)
705
- };
740
+ function ciChangeCheckFor(trustedBots) {
741
+ return {
742
+ name: CI_CHANGE_CHECK,
743
+ evaluate: async (pr) => decideCiChange(classifyWorkflowChanges(pr.workflowChanges), pr, trustedBots)
744
+ };
745
+ }
746
+ var ciChangeCheck = ciChangeCheckFor([]);
706
747
 
707
748
  // src/checks/dependabot/claims.ts
708
749
  var NAME = /(?:\[([^\[\]\n]+)\]\([^()\n]*\)|`([^`]+)`|([^\s[\]`]+))/.source;
@@ -1597,11 +1638,15 @@ function staleReason(pr, label) {
1597
1638
  if (Date.parse(appliedAt) > Date.parse(pr.headPushedAt)) return void 0;
1598
1639
  return "it was applied before the current head was pushed, and a new head needs a person to test it again";
1599
1640
  }
1600
- function decideUat(pr) {
1601
- const reading = readSignOffStatus(pr);
1641
+ function decideUat(pr, trustedBots = []) {
1642
+ const reading = readSignOffStatus(pr, trustedBots);
1602
1643
  switch (reading.kind) {
1603
1644
  case "absent":
1604
1645
  return { findings: decideWithoutStatus2(pr) };
1646
+ case "ignored":
1647
+ return {
1648
+ findings: [...decideWithoutStatus2(pr), info2(ignoredStatusMessage(reading.reason))]
1649
+ };
1605
1650
  case "rejected":
1606
1651
  return { findings: [hold(rejectedStatusMessage(reading.reason))] };
1607
1652
  case "valid":
@@ -1661,10 +1706,10 @@ function signOffFindings(pr, setAside) {
1661
1706
  }
1662
1707
  return [waiting, ...why];
1663
1708
  }
1664
- var uatCheck = {
1665
- name: UAT_CHECK,
1666
- evaluate: async (pr) => decideUat(pr)
1667
- };
1709
+ function uatCheckFor(trustedBots) {
1710
+ return { name: UAT_CHECK, evaluate: async (pr) => decideUat(pr, trustedBots) };
1711
+ }
1712
+ var uatCheck = uatCheckFor([]);
1668
1713
 
1669
1714
  // src/checks/index.ts
1670
1715
  var CHECKS = [
@@ -1676,7 +1721,13 @@ var CHECKS = [
1676
1721
  dependabotCheck
1677
1722
  ];
1678
1723
  function selectChecks(options = {}) {
1679
- return options.skipUat ? CHECKS.filter((check) => check !== uatCheck) : CHECKS;
1724
+ const trustedBots = parseSignOffStatusCreators(options.signOffStatusCreators ?? []);
1725
+ const configured = trustedBots.length === 0 ? CHECKS : CHECKS.map((check) => {
1726
+ if (check === uatCheck) return uatCheckFor(trustedBots);
1727
+ if (check === ciChangeCheck) return ciChangeCheckFor(trustedBots);
1728
+ return check;
1729
+ });
1730
+ return options.skipUat ? configured.filter((check) => check.name !== uatCheck.name) : configured;
1680
1731
  }
1681
1732
 
1682
1733
  // src/report.ts
@@ -2336,6 +2387,8 @@ export {
2336
2387
  SIGN_OFF_REQUIREMENTS,
2337
2388
  WAIVER_STATES,
2338
2389
  parseSignOffDescription,
2390
+ GITHUB_ACTIONS_BOT,
2391
+ parseSignOffStatusCreators,
2339
2392
  readSignOffStatus,
2340
2393
  LOOSENING_INDICATORS,
2341
2394
  AMBIGUOUS_INDICATORS,
package/dist/index.d.ts CHANGED
@@ -166,8 +166,18 @@ declare const CHECKS: readonly PolicyCheck[];
166
166
  interface PolicyOptions {
167
167
  /** Drop the UAT gate, for a repo with no user-acceptance testing to wait on. */
168
168
  skipUat?: boolean;
169
+ /**
170
+ * GitHub App logins (exact, ending in `[bot]`) trusted to post the
171
+ * `pr-lifecycle/sign-off` status, besides a person who could merge. Empty by
172
+ * default. `github-actions[bot]` is refused. Human sign-off labels are
173
+ * unaffected: they still need a trusted person.
174
+ */
175
+ signOffStatusCreators?: readonly string[];
169
176
  }
170
- /** The checks to run for a repo configured with `options`, in report order. */
177
+ /**
178
+ * The checks to run for a repo configured with `options`, in report order.
179
+ * Throws on an invalid `signOffStatusCreators` entry.
180
+ */
171
181
  declare function selectChecks(options?: PolicyOptions): readonly PolicyCheck[];
172
182
 
173
183
  /**
@@ -226,10 +236,12 @@ declare const RELEASE_PLEASE_PENDING_LABEL = "autorelease: pending";
226
236
  * GitHub ties a status to its SHA, so a push can never leave the gate reading a
227
237
  * classification of an older head. The gate never reads pr-lifecycle's labels.
228
238
  *
229
- * Everything here fails closed: an unknown version, an unknown key or value, a
230
- * status that isn't `success`, or a creator who couldn't sign off a PR is
231
- * `rejected`, and the checks hold. Only a missing status is `absent`, which
232
- * keeps the checks on their own classification until the repo cuts over.
239
+ * A status from a creator the gate doesn't trust is `ignored`: the checks
240
+ * classify the PR themselves, exactly as with no status, so it can't loosen
241
+ * anything. A trusted creator's status that the gate can't use (an unknown
242
+ * version, an unknown key or value, a state other than `success`) is
243
+ * `rejected`, and the checks hold. A missing status is `absent`, which keeps
244
+ * the checks on their own classification until the repo cuts over.
233
245
  */
234
246
 
235
247
  /** The description format versions this gate understands. */
@@ -250,8 +262,20 @@ type SignOffClassification = {
250
262
  loosening: boolean;
251
263
  waiver: WaiverState;
252
264
  };
265
+ /**
266
+ * - `absent`: no status on the head.
267
+ * - `ignored`: a status from a creator the gate doesn't trust. It is treated as
268
+ * no status, so the checks fall back to their own classification
269
+ * (rmartz/pr-policy#101); `reason` says who posted it and how to trust them.
270
+ * - `rejected`: a status from a trusted creator that the gate can't use (a
271
+ * state other than `success`, or an unknown format). The checks hold.
272
+ * - `valid`: a trusted, well-formed status.
273
+ */
253
274
  type SignOffStatusReading = {
254
275
  kind: 'absent';
276
+ } | {
277
+ kind: 'ignored';
278
+ reason: string;
255
279
  } | {
256
280
  kind: 'rejected';
257
281
  reason: string;
@@ -266,8 +290,33 @@ type SignOffStatusReading = {
266
290
  * pr-lifecycle bumps the version for any new key.
267
291
  */
268
292
  declare function parseSignOffDescription(description: string): SignOffClassification | string;
269
- /** Read pr-lifecycle's sign-off status on the head, judging its creator and format. */
270
- declare function readSignOffStatus(pr: Pick<PullRequestFacts, 'signOffStatus'>): SignOffStatusReading;
293
+ /**
294
+ * The Bot any workflow in a repo can post as with its `GITHUB_TOKEN`. It can
295
+ * never be trusted to post the status, so a caller can't name it.
296
+ */
297
+ declare const GITHUB_ACTIONS_BOT = "github-actions[bot]";
298
+ /**
299
+ * Validate a caller's list of GitHub App logins trusted to post the status
300
+ * (rmartz/pr-policy#97). Each entry is an exact login ending in `[bot]`, such
301
+ * as `rmartz-merge-bot[bot]`; blanks are dropped. `github-actions[bot]` is
302
+ * refused in any case, because any workflow can post as it. Throws on a bad
303
+ * entry, so a misconfigured caller fails loudly rather than trusting less or
304
+ * more than it meant to.
305
+ */
306
+ declare function parseSignOffStatusCreators(entries: readonly string[]): string[];
307
+ /**
308
+ * Read pr-lifecycle's sign-off status on the head, judging its creator and
309
+ * format. The creator must be a `User` who could merge, or a Bot named in
310
+ * `trustedBots` (validated by `parseSignOffStatusCreators`).
311
+ *
312
+ * An untrusted creator is `ignored`, not held on. While the checks keep their
313
+ * own classification, ignoring a status can't loosen anything: the PR is
314
+ * judged as if pr-lifecycle hadn't posted. Holding instead would lock the repo
315
+ * whenever pr-lifecycle's identity and the caller's trust list drift apart,
316
+ * including the PR that fixes the list (rmartz/pr-policy#101). Once
317
+ * rmartz/pr-policy#85 removes the fallback, this has to hold again.
318
+ */
319
+ declare function readSignOffStatus(pr: Pick<PullRequestFacts, 'signOffStatus'>, trustedBots?: readonly string[]): SignOffStatusReading;
271
320
 
272
321
  /**
273
322
  * The indicator vocabulary — the classifier's whole output surface.
@@ -328,11 +377,14 @@ type CiFacts = Pick<PullRequestFacts, 'labels' | 'signOffs' | 'signOffStatus'>;
328
377
  * Decide the findings and label edits for one classified PR. With a valid
329
378
  * `pr-lifecycle/sign-off` status, that status says whether a CI sign-off is
330
379
  * needed, and this check edits no label: pr-lifecycle writes `CI approval
331
- * needed` then. Without one, or with one the gate can't trust (the `uat` check
332
- * holds on that), this check classifies the workflow diff itself, as before
333
- * the cutover.
334
- */
335
- declare function decideCiChange(classification: Classification, pr: CiFacts): CheckResult;
380
+ * needed` then. Without one, with one from a creator the gate doesn't trust,
381
+ * or with a trusted one it can't use (the `uat` check holds on that), this
382
+ * check classifies the workflow diff itself, as before the cutover.
383
+ * `trustedBots` are the GitHub Apps the caller trusts to post the status,
384
+ * besides a trusted person.
385
+ */
386
+ declare function decideCiChange(classification: Classification, pr: CiFacts, trustedBots?: readonly string[]): CheckResult;
387
+ /** The CI-change check trusting only people to post the sign-off status. */
336
388
  declare const ciChangeCheck: PolicyCheck;
337
389
 
338
390
  /**
@@ -526,4 +578,4 @@ declare function statusBody(evaluation: PolicyEvaluation, runUrl: string | undef
526
578
  /** Post the verdict: the `pr-policy` check-run, then the matching commit status. */
527
579
  declare function postVerdict(target: PullRequestTarget, headSha: string, evaluation: PolicyEvaluation): Promise<void>;
528
580
 
529
- export { AMBIGUOUS_INDICATORS, type AmbiguousIndicator, BLOCKED_LABEL, BLOCKING_LABELS, BREAKING_CHANGE_LABEL, CHECKS, CI_APPROVAL_NEEDED_LABEL, CI_CHANGE_APPROVED_LABEL, CI_CHANGE_CHECK, CI_CHANGE_VERDICTS, CI_SENSITIVE_PACKAGES, COMMIT_TYPES, type CheckResult, type CheckRunReport, type CiChangeVerdict, type Claim, type Classification, type CommitStatus, type CommitType, DEPENDABOT_CHECK, DEPENDABOT_LOGIN, DNM_LABEL, DO_NOT_MERGE_LABEL, ESCALATION_NEEDED_LABEL, FUNCTIONAL_TYPES, type FileChange, type Finding, HOTFIX_LABEL, type Indicator, type IndicatorClass, type IndicatorKind, LOOSENING_INDICATORS, type LooseningIndicator, MERGE_BLOCK_CHECK, POLICY_OUTCOMES, PR_POLICY_CHECK_NAME, type ParsedTitle, type PolicyCheck, type PolicyEvaluation, type PolicyOptions, type PolicyOutcome, type PullRequestAuthor, type PullRequestFacts, type PullRequestTarget, RELEASE_PLEASE_PENDING_LABEL, SIGN_OFF_REQUIREMENTS, SIGN_OFF_STATUS_CONTEXT, SIGN_OFF_STATUS_VERSIONS, type SignOffClassification, type SignOffRequirement, type SignOffStatusReading, TITLE_CHECK, WAIVER_STATES, type WaiverState, type WorkflowFileChange, applyLabelEdits, buildReport, checkRunBody, ciChangeCheck, classifyWorkflowChanges, classifyWorkflowFile, decideCiChange, decideDependabot, decideMergeBlock, decideTitle, dependabotCheck, evaluatePolicy, gatherFacts, isManifestPath, isWorkflowPath, mergeBlockCheck, openPullRequestsAtHead, parseClaims, parseFacts, parseSignOffDescription, parseTitle, postCheckRun, postVerdict, readSignOffStatus, selectChecks, sensitiveBumps, statusBody, titleCheck };
581
+ export { AMBIGUOUS_INDICATORS, type AmbiguousIndicator, BLOCKED_LABEL, BLOCKING_LABELS, BREAKING_CHANGE_LABEL, CHECKS, CI_APPROVAL_NEEDED_LABEL, CI_CHANGE_APPROVED_LABEL, CI_CHANGE_CHECK, CI_CHANGE_VERDICTS, CI_SENSITIVE_PACKAGES, COMMIT_TYPES, type CheckResult, type CheckRunReport, type CiChangeVerdict, type Claim, type Classification, type CommitStatus, type CommitType, DEPENDABOT_CHECK, DEPENDABOT_LOGIN, DNM_LABEL, DO_NOT_MERGE_LABEL, ESCALATION_NEEDED_LABEL, FUNCTIONAL_TYPES, type FileChange, type Finding, GITHUB_ACTIONS_BOT, HOTFIX_LABEL, type Indicator, type IndicatorClass, type IndicatorKind, LOOSENING_INDICATORS, type LooseningIndicator, MERGE_BLOCK_CHECK, POLICY_OUTCOMES, PR_POLICY_CHECK_NAME, type ParsedTitle, type PolicyCheck, type PolicyEvaluation, type PolicyOptions, type PolicyOutcome, type PullRequestAuthor, type PullRequestFacts, type PullRequestTarget, RELEASE_PLEASE_PENDING_LABEL, SIGN_OFF_REQUIREMENTS, SIGN_OFF_STATUS_CONTEXT, SIGN_OFF_STATUS_VERSIONS, type SignOffClassification, type SignOffRequirement, type SignOffStatusReading, TITLE_CHECK, WAIVER_STATES, type WaiverState, type WorkflowFileChange, applyLabelEdits, buildReport, checkRunBody, ciChangeCheck, classifyWorkflowChanges, classifyWorkflowFile, decideCiChange, decideDependabot, decideMergeBlock, decideTitle, dependabotCheck, evaluatePolicy, gatherFacts, isManifestPath, isWorkflowPath, mergeBlockCheck, openPullRequestsAtHead, parseClaims, parseFacts, parseSignOffDescription, parseSignOffStatusCreators, parseTitle, postCheckRun, postVerdict, readSignOffStatus, selectChecks, sensitiveBumps, statusBody, titleCheck };
package/dist/index.js CHANGED
@@ -16,6 +16,7 @@ import {
16
16
  DO_NOT_MERGE_LABEL,
17
17
  ESCALATION_NEEDED_LABEL,
18
18
  FUNCTIONAL_TYPES,
19
+ GITHUB_ACTIONS_BOT,
19
20
  HOTFIX_LABEL,
20
21
  LOOSENING_INDICATORS,
21
22
  MERGE_BLOCK_CHECK,
@@ -47,6 +48,7 @@ import {
47
48
  parseClaims,
48
49
  parseFacts,
49
50
  parseSignOffDescription,
51
+ parseSignOffStatusCreators,
50
52
  parseTitle,
51
53
  postCheckRun,
52
54
  postVerdict,
@@ -55,7 +57,7 @@ import {
55
57
  sensitiveBumps,
56
58
  statusBody,
57
59
  titleCheck
58
- } from "./chunk-5M7UKSAV.js";
60
+ } from "./chunk-KWZP3U4O.js";
59
61
  export {
60
62
  AMBIGUOUS_INDICATORS,
61
63
  BLOCKED_LABEL,
@@ -74,6 +76,7 @@ export {
74
76
  DO_NOT_MERGE_LABEL,
75
77
  ESCALATION_NEEDED_LABEL,
76
78
  FUNCTIONAL_TYPES,
79
+ GITHUB_ACTIONS_BOT,
77
80
  HOTFIX_LABEL,
78
81
  LOOSENING_INDICATORS,
79
82
  MERGE_BLOCK_CHECK,
@@ -105,6 +108,7 @@ export {
105
108
  parseClaims,
106
109
  parseFacts,
107
110
  parseSignOffDescription,
111
+ parseSignOffStatusCreators,
108
112
  parseTitle,
109
113
  postCheckRun,
110
114
  postVerdict,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rmartz/pr-policy",
3
- "version": "1.4.0",
3
+ "version": "1.5.1",
4
4
  "description": "Read-only PR content classifiers — CI-change classification, title-type rules, and more — reported as one blocking pr-policy check-run. Distributed as a pinned Action kept current by Dependabot.",
5
5
  "keywords": [
6
6
  "pr-policy",