Skip to content

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

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

chore(ci): Maximize CI/CD values (Dependabot & Permissions)#3
hyperpolymath merged 3 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: d06fc33c5d

ℹ️ 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
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 Avoid granting read-all to this workflow

In .github/workflows/boj-build.yml the job only runs actions/checkout@v4 and a curl command, so contents: read is the only token scope it needs. On repos or orgs that use restricted default GITHUB_TOKEN permissions, explicitly setting permissions: read-all widens the token to every readable scope (issues, PRs, packages, etc.), which increases the blast radius if the runner or one of these steps is compromised.

Useful? React with 👍 / 👎.

@hyperpolymath hyperpolymath enabled auto-merge (squash) March 18, 2026 21:01
@hyperpolymath hyperpolymath merged commit 793f0dc into main Mar 20, 2026
11 of 17 checks passed
@hyperpolymath hyperpolymath deleted the chore/cicd-optimizations branch March 20, 2026 18:02
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