-
-
Notifications
You must be signed in to change notification settings - Fork 0
chore(ci): Maximize CI/CD values (Dependabot & Permissions) #45
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
5dfce73
3c6a672
e4d93f3
70e19a4
9ead403
003b130
51ccc57
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,19 @@ | ||
| # 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 job runs on a stock Useful? React with 👍 / 👎. |
||
| continue-on-error: true | ||
| permissions: | ||
| contents: read | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,8 @@ on: | |
| schedule: | ||
| - cron: '0 6 * * 1' | ||
|
|
||
| permissions: read-all | ||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| analyze: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,8 @@ on: | |
| push: | ||
| branches: [main] | ||
|
|
||
| permissions: read-all | ||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| trufflehog: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,7 +15,8 @@ on: | |
| workflow_dispatch: | ||
|
|
||
|
|
||
| permissions: read-all | ||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| validate: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # ⚓ ANCHOR: developer-ecosystem | ||
| # This is the canonical authority for the developer-ecosystem repository. | ||
|
|
||
| id: "org.hyperpolymath.developer-ecosystem" | ||
| 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.
curl -dpayload in the BoJ triggerThe
runscript's-dargument currently ends with"casket\\"}"}which leaves the shell with an unmatched double quote and an extra}. I copied the resolved command intobash -nand it fails withunexpected EOF while looking for matching '"', so this step never reachescurland the new workflow cannot trigger BoJ at all.Useful? React with 👍 / 👎.