Fleet-wide CI-speed pass: masterplan-lock.yml had no job-level timeout-minutes (a hung runner could block indefinitely) and triggers on both push (branches: ["**"]) and pull_request, which runs the same check twice per PR commit. Add a 10-minute timeout for this cheap single-check job and a concurrency group (matching the pattern already used in admin/serv0, admin/s0cial, admin/ppl0, admin/pers0n) to cancel the superseded duplicate run without changing what triggers CI. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
27 lines
836 B
YAML
27 lines
836 B
YAML
name: masterplan-lock
|
|
|
|
# Fails the build if this repo's copy of the SIAX Non-Platform masterplan
|
|
# (PLAN/MASTERPLAN_INDEX.md) is deleted or its locked architecture
|
|
# principles are stripped out. Dependency-free (POSIX sh) so it needs no
|
|
# language toolchain -- HARD0 is still a P0-scaffold with no package.json.
|
|
# See scripts/check-masterplan-lock.sh and sax3l/siax-masterplan.
|
|
|
|
on:
|
|
push:
|
|
branches: ["**"]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: https://git.siax.io/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # mirrored, immutable
|
|
- name: Masterplan lock check
|
|
run: sh scripts/check-masterplan-lock.sh
|