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
6 changes: 2 additions & 4 deletions .github/workflows/boj-build.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
name: BoJ Server Build Trigger

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add the required SPDX header to this workflow

Because this change edits .github/workflows/boj-build.yml, it will trigger .github/workflows/workflow-linter.yml. Its Check SPDX Headers step (lines 27-40) fails any workflow whose first line is not an SPDX comment, and this file still starts with name:. As written, any push or PR containing this commit will leave CI red until the header is added.

Useful? React with 👍 / 👎.


on:
push:
branches: [ main, master ]
branches: [main, master]
workflow_dispatch:

jobs:
trigger-boj:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Pin actions/checkout to a full commit SHA

This PR also triggers .github/workflows/workflow-linter.yml's Check SHA-Pinned Actions step (lines 61-77), which rejects any uses: entry that is not pinned to a 40-character SHA. actions/checkout@v4 still matches that failure case here, so the workflow linter will continue to fail on this commit.

Useful? React with 👍 / 👎.


- 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
Loading