Skip to content

chore(ci): Maximize CI/CD values (Dependabot & Permissions)#45

Merged
hyperpolymath merged 7 commits intomainfrom
chore/cicd-optimizations
Mar 20, 2026
Merged

chore(ci): Maximize CI/CD values (Dependabot & Permissions)#45
hyperpolymath merged 7 commits intomainfrom
chore/cicd-optimizations

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

This automated PR updates your CI/CD configurations to maximize value and security.

  • Dependabot: Ensures github-actions is monitored for updates.
  • Security: Adds permissions: read-all to workflows missing explicit permissions.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 70e19a4822

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

- 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\\"}"}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Fix the malformed curl -d payload in the BoJ trigger

The run script's -d argument currently ends with "casket\\"}"} which leaves the shell with an unmatched double quote and an extra }. I copied the resolved command into bash -n and it fails with unexpected EOF while looking for matching '"', so this step never reaches curl and the new workflow cannot trigger BoJ at all.

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\\"}"}
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 Point the workflow at an endpoint reachable from GitHub runners

This job runs on a stock ubuntu-latest runner and only performs actions/checkout, so there is nothing here that makes boj-server.local:7700 reachable (no services: block, tunnel, or self-hosted runner label). Even after fixing the quoting bug above, GitHub-hosted executions will still fail to contact BoJ and, because the step is marked continue-on-error, the repository will silently skip the intended build trigger on every push.

Useful? React with 👍 / 👎.

@hyperpolymath hyperpolymath enabled auto-merge (squash) March 18, 2026 21:00
@hyperpolymath hyperpolymath disabled auto-merge March 20, 2026 18:33
@hyperpolymath hyperpolymath merged commit fd6c4d6 into main Mar 20, 2026
18 checks passed
@hyperpolymath hyperpolymath deleted the chore/cicd-optimizations branch March 20, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant