Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions .github/workflows/boj-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,30 @@
push:
branches: [main, master]
workflow_dispatch:

permissions:
contents: read

jobs:
trigger-boj:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Trigger BoJ Server (Casket/ssg-mcp)
# NOTE: boj-server.local is an mDNS name that cannot resolve from a
# GitHub-hosted runner, so this request can only fail here; the
# continue-on-error below hides that. Left as-is deliberately —
# repairing the syntax is in scope, redesigning the trigger is not.
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\\"}"}
curl -X POST "http://boj-server.local:7700/cartridges/ssg-mcp/invoke" \

Check warning on line 25 in .github/workflows/boj-build.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Make sure that using clear-text protocols is safe here.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_refugia&issues=AZ_Htppe3-8lVFx50vs8&open=AZ_Htppe3-8lVFx50vs8&pullRequest=37
-H "Content-Type: application/json" \
-d "{\"repo\": \"${{ github.repository }}\", \"branch\": \"${{ github.ref_name }}\", \"engine\": \"casket\"}"
continue-on-error: true
permissions:
contents: read

- name: K9-SVC Validation
run: |
echo "K9-SVC validation"
[ -d .machine_readable/contractiles ] && echo "Contractiles present" || echo "No contractiles"
- name: K9-SVC Validation
run: |
echo "K9-SVC validation"
[ -d .machine_readable/contractiles ] && echo "Contractiles present" || echo "No contractiles"
Loading