Skip to content

refactor(mv9b): accepted global FX and M4 slot bypass ACK/readback ViewModel #454

refactor(mv9b): accepted global FX and M4 slot bypass ACK/readback ViewModel

refactor(mv9b): accepted global FX and M4 slot bypass ACK/readback ViewModel #454

name: ArSonMix Required Merge Gate

Check warning on line 1 in .github/workflows/required-pr-merge-gate.yml

View workflow run for this annotation

GitHub Actions / ArSonMix Required Merge Gate

Workflow execution policy warning (evaluate mode)

On December 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
# Stable required commit-status context, independent of path-scoped CI names.
# Privileged status writes use reviewed main code; never checkout PR source.
on:
pull_request:
paths:
- 'scripts/required_pr_merge_gate.mjs'
- 'tests/required_pr_merge_gate.test.mjs'
- '.github/workflows/required-pr-merge-gate.yml'
pull_request_target:
types: [opened, reopened, synchronize, ready_for_review, converted_to_draft]
workflow_run:
workflows:
- Windows Native VST3 Host
- UI smoke (Chromium)
- Smart Release/Download Contracts (fast only)
types: [completed]
permissions:
contents: read
pull-requests: read
actions: read
statuses: write
concurrency:
group: required-merge-gate-${{ github.event.pull_request.number || github.event.workflow_run.id || github.run_id }}
cancel-in-progress: false
jobs:
self-test:
name: Required merge gate source-contract tests
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
timeout-minutes: 4
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: node --test tests/required_pr_merge_gate.test.mjs
- run: node --check scripts/required_pr_merge_gate.mjs
publish-status:
name: Publish exact-head fail-closed merge status
if: ${{ github.event_name == 'pull_request_target' || github.event_name == 'workflow_run' }}
runs-on: ubuntu-latest
timeout-minutes: 4
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.repository.default_branch }}
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Verify deployed status publisher before using write token
run: node --test tests/required_pr_merge_gate.test.mjs
- name: Refresh one commit status after PR change or scoped CI completion
env:
GH_TOKEN: ${{ github.token }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_EVENT_PATH: ${{ github.event_path }}
run: node scripts/required_pr_merge_gate.mjs