chore(ci): Maximize CI/CD values (Dependabot & Permissions)#1
chore(ci): Maximize CI/CD values (Dependabot & Permissions)#1hyperpolymath merged 1 commit intomainfrom
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 55d90fa9e0
ℹ️ 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".
| # 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 |
There was a problem hiding this comment.
Avoid widening the workflow token to
read-all
If this repository or its org uses the restricted default GITHUB_TOKEN policy, this new workflow-level setting expands trigger-boj to every readable permission even though the job only needs to fetch the repo and send a curl request. That is broader than necessary for the current actions/checkout usage and conflicts with the repo's own least-privilege guidance in docs/architecture/THREAT-MODEL.adoc:125, which calls for per-job scoping after a workflow-level default.
Useful? React with 👍 / 👎.
This automated PR updates your CI/CD configurations to maximize value and security.
github-actionsis monitored for updates.permissions: read-allto workflows missing explicit permissions.