Skip to content

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

Merged
hyperpolymath merged 1 commit intomainfrom
chore/cicd-optimizations
Mar 18, 2026
Merged

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

Conversation

@hyperpolymath
Copy link
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

@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: e7989c2c05

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

- run: gleam deps download
- run: gleam test
- run: gleam format --check src test
permissions: read-all

Choose a reason for hiding this comment

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

P2 Badge Remove the blanket read-all permission here

If this repo or org uses GitHub's restricted default GITHUB_TOKEN policy (contents/packages only, which is the default for new repos), permissions: read-all widens every push and pull_request run to all readable scopes. This workflow only checks out the repo and runs local Gleam commands, so the broader token is unnecessary and is now exposed to the third-party erlef/setup-beam@v1 action and all later steps; a compromised action or PR script would be able to read issue/PR/package metadata that was previously unavailable.

Useful? React with 👍 / 👎.

@hyperpolymath hyperpolymath merged commit 5179f47 into main Mar 18, 2026
1 check failed
@hyperpolymath hyperpolymath deleted the chore/cicd-optimizations branch March 18, 2026 21:03
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