Skip to content

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

Merged
hyperpolymath merged 4 commits intomainfrom
chore/cicd-optimizations
Mar 19, 2026
Merged

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

ℹ️ 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".

Comment on lines +3 to +6
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
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 Fix workflow-linter self-matches before enabling action Dependabot

This turns on daily github-actions update PRs, but those PRs will touch .github/workflows/** and therefore trigger Workflow Security Linter. Its SHA-pinning check in .github/workflows/workflow-linter.yml:61-76 currently matches its own comment/script lines and the helper grep in .github/workflows/scorecard-enforcer.yml:65-72, so every Dependabot action-update PR will start out red until that linter is fixed or excluded.

Useful? React with 👍 / 👎.

# 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 Add the required SPDX header while touching boj-build.yml

If Workflow Security Linter is a required check for workflow changes, this edit still leaves boj-build.yml unmergeable because .github/workflows/workflow-linter.yml:27-40 rejects any workflow whose first line is not # SPDX-License-Identifier:. I checked the current tree and boj-build.yml is still the only workflow that starts directly with name: instead of the mandated header.

Useful? React with 👍 / 👎.

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@hyperpolymath hyperpolymath merged commit f941ac6 into main Mar 19, 2026
13 of 16 checks passed
@hyperpolymath hyperpolymath deleted the chore/cicd-optimizations branch March 19, 2026 07:12
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