-
-
Notifications
You must be signed in to change notification settings - Fork 0
chore(ci): Maximize CI/CD values (Dependabot & Permissions) #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d1d9013
9a97c89
01ab6de
4d6dc3a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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\\"}"} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This workflow runs on Useful? React with 👍 / 👎. |
||
| continue-on-error: true | ||
| permissions: read-all | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
-dargument on this line ends with an extra escaped quote/brace aftercasket, which leaves the generated shell script with an unmatched"beforecurlcan run. Replacing the GitHub expressions with literal values and runningbash -nreproducesunexpected EOF while looking for matching '"', so every push tomain/masterwill skip the trigger instead of notifying BoJ.Useful? React with 👍 / 👎.