@webpieces/rules-config 0.4.478 → 0.4.480
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webpieces/rules-config",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.480",
|
|
4
4
|
"description": "Shared webpieces.config.json loader. Single source of truth for validation rule configuration consumed by @webpieces/ai-hook-rules, @webpieces/code-rules, and @webpieces/nx-webpieces-rules.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -31,12 +31,15 @@
|
|
|
31
31
|
name: Webpieces PR Gate
|
|
32
32
|
on:
|
|
33
33
|
pull_request:
|
|
34
|
-
# `
|
|
35
|
-
#
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
#
|
|
39
|
-
#
|
|
34
|
+
# `synchronize` is the primary trigger and catches an unhooked teammate pushing over a gated PR. The
|
|
35
|
+
# gated flow pushes exactly ONCE per cycle (from wp-finish-upsert-pr, after the PR body is written),
|
|
36
|
+
# so the synchronize run always reads the correct token.
|
|
37
|
+
#
|
|
38
|
+
# `edited` is the BODY-TAMPER guard: the token lives in the PR body, so an edit that strips it must
|
|
39
|
+
# re-run this check rather than leave a stale green. Keep it. Note it fires on wp-finish's body write,
|
|
40
|
+
# a beat BEFORE that push — so its run can briefly resolve the OLD head sha and go red. Harmless: that
|
|
41
|
+
# red is keyed to a sha that is no longer the PR head, and branch protection evaluates the current
|
|
42
|
+
# head, where the synchronize run lands green.
|
|
40
43
|
types: [opened, edited, synchronize, reopened]
|
|
41
44
|
permissions:
|
|
42
45
|
contents: read
|