@rmartz/pr-policy 0.13.1 → 0.14.0
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/dist/bin/pr-policy.js
CHANGED
|
@@ -1373,6 +1373,9 @@ function decideUat(pr) {
|
|
|
1373
1373
|
const kinds = categories.length > 0 ? categories.join(", ") : "no files";
|
|
1374
1374
|
return { findings: [info2(`No UAT needed: the PR changes only ${kinds}.`)] };
|
|
1375
1375
|
}
|
|
1376
|
+
if (parseTitle(pr.title)?.type === "refactor") {
|
|
1377
|
+
return { findings: [info2("No UAT needed: a refactor changes no behaviour.")] };
|
|
1378
|
+
}
|
|
1376
1379
|
const state = signOffState(pr, PASSING_LABELS);
|
|
1377
1380
|
if (state.status === "trusted") {
|
|
1378
1381
|
return {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rmartz/pr-policy",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
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",
|