diff --git a/.github/workflows/boj-build.yml b/.github/workflows/boj-build.yml new file mode 100644 index 0000000..c99d1db --- /dev/null +++ b/.github/workflows/boj-build.yml @@ -0,0 +1,18 @@ +# SPDX-License-Identifier: PMPL-1.0-or-later +name: BoJ Server Build Trigger +on: + push: + branches: [main, master] + workflow_dispatch: +jobs: + trigger-boj: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - name: Trigger BoJ Server (Casket/ssg-mcp) + run: | + # Send a secure trigger to boj-server to build this repository + curl -X POST "http://boj-server.local:7700/cartridges/ssg-mcp/invoke" -H "Content-Type: application/json" -d "{\"repo\": \"${{ github.repository }}\", \"branch\": \"${{ github.ref_name }}\", \"engine\": \"casket\\"}"} + continue-on-error: true +permissions: read-all diff --git a/.github/workflows/workflow-linter.yml b/.github/workflows/workflow-linter.yml index 35f24b2..63c14a1 100644 --- a/.github/workflows/workflow-linter.yml +++ b/.github/workflows/workflow-linter.yml @@ -63,7 +63,7 @@ jobs: echo "=== Checking Action Pinning ===" # Find any uses: lines that don't have @SHA format # Pattern: uses: owner/repo@<40-char-hex> - unpinned=$(grep -rn "uses:" .github/workflows/ | \ + unpinned=$(grep -rnE "^[[:space:]]+uses:" .github/workflows/ | \ grep -v "@[a-f0-9]\{40\}" | \ grep -v "uses: \./\|uses: docker://\|uses: actions/github-script" || true) diff --git a/.machine_readable/anchors/ANCHOR.a2ml b/.machine_readable/anchors/ANCHOR.a2ml new file mode 100644 index 0000000..4eec1c5 --- /dev/null +++ b/.machine_readable/anchors/ANCHOR.a2ml @@ -0,0 +1,18 @@ +# ⚓ ANCHOR: conative-gating +# This is the canonical authority for the conative-gating repository. + +id: "org.hyperpolymath.conative-gating" +version: "1.0.0" +clade: "unknown" +status: "active" + +# SSG Configuration (Unified boj-server build) +ssg: + engine: "casket" + output_dir: "public" + boj_trigger: true + cartridge: "ssg-mcp" + +# Relationships +parents: + - "org.hyperpolymath.boj-server"