@mutmutco/pi-plugin 4.5.135 → 4.5.137

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": "@mutmutco/pi-plugin",
3
- "version": "4.5.135",
3
+ "version": "4.5.137",
4
4
  "description": "MMI workflow skills and org gates delivery.",
5
5
  "author": {
6
6
  "name": "MMI Future",
@@ -34,6 +34,8 @@ name: gate
34
34
  # (seed touch: keep BOM digests in lockstep after classifier land.)
35
35
  on:
36
36
  pull_request:
37
+ merge_group:
38
+ types: [checks_requested]
37
39
  push:
38
40
  branches: {{GATE_PUSH_BRANCHES_YAML}}
39
41
  tags: ['v*']
@@ -99,10 +101,10 @@ jobs:
99
101
  lockfile-path: {{GATE_CACHE_DEP_PATH}}
100
102
  fetch-depth: 0 # #8129: runbook freshness needs the PR merge-base history.
101
103
  - name: Runbook guard
102
- if: ${{ steps.development-gate.outputs.reuse != 'true' && (github.event_name == 'pull_request') }}
104
+ if: ${{ steps.development-gate.outputs.reuse != 'true' && (github.event_name == 'pull_request' || github.event_name == 'merge_group') }}
103
105
  uses: mutmutco/MMI-Hub/.github/actions/runbook-guard@{{GATE_RUNBOOK_SHA}}
104
106
  with:
105
- base-ref: origin/${{ github.base_ref }}
107
+ base-ref: ${{ github.event_name == 'merge_group' && github.event.merge_group.base_sha || format('origin/{0}', github.base_ref) }}
106
108
  # #5427: per-job npm cache under $RUNNER_TEMP — never the shared ~/.npm. Twelve mmi-live lanes
107
109
  # share the gha-runner home; npm hardlinks from that cache into node_modules, so one job's
108
110
  # `npm ci` can make another job's vitest/dist/workers/forks.js vanish mid-suite (Cannot find
@@ -1,6 +1,8 @@
1
1
  name: gate
2
2
  on:
3
3
  pull_request:
4
+ merge_group:
5
+ types: [checks_requested]
4
6
  push:
5
7
  branches: {{GATE_PUSH_BRANCHES_YAML}}
6
8
  tags: ['v*']
@@ -49,10 +51,10 @@ jobs:
49
51
  lockfile-path: package-lock.json
50
52
  fetch-depth: 0 # #8129: runbook freshness needs the PR merge-base history.
51
53
  - name: Runbook guard
52
- if: ${{ steps.development-gate.outputs.reuse != 'true' && (github.event_name == 'pull_request') }}
54
+ if: ${{ steps.development-gate.outputs.reuse != 'true' && (github.event_name == 'pull_request' || github.event_name == 'merge_group') }}
53
55
  uses: mutmutco/MMI-Hub/.github/actions/runbook-guard@{{GATE_RUNBOOK_SHA}}
54
56
  with:
55
- base-ref: origin/${{ github.base_ref }}
57
+ base-ref: ${{ github.event_name == 'merge_group' && github.event.merge_group.base_sha || format('origin/{0}', github.base_ref) }}
56
58
  - name: Isolate npm cache
57
59
  if: ${{ steps.development-gate.outputs.reuse != 'true' }}
58
60
  run: echo "NPM_CONFIG_CACHE=$RUNNER_TEMP/npm-cache" >> "$GITHUB_ENV"
@@ -3,6 +3,8 @@ name: screens
3
3
  # waits on a context that never reports.
4
4
  on:
5
5
  pull_request:
6
+ merge_group:
7
+ types: [checks_requested]
6
8
  push:
7
9
  branches: {{GATE_PUSH_BRANCHES_YAML}}
8
10
  tags: ['v*']