ci: harden GitHub Actions workflows#32
Conversation
Co-Authored-By: Codex Opus 4.6 (1M context) <noreply@anthropic.com>
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 850b0bfdab
ℹ️ 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".
| permissions: | ||
| contents: read |
There was a problem hiding this comment.
Grant Actions scope to keep CI cache functional
This job still calls actions/cache, but after setting permissions: {} at workflow level and only contents: read at job level, the actions scope is implicitly none (GitHub workflow syntax: unspecified permissions become none). The cache API is under the Actions permission set, so cache restore/save calls will be unauthorized and the Maven cache will effectively stop working, increasing build times on every run.
Useful? React with 👍 / 👎.
Summary
cicommit prefix and a 7-day cooldown.Linear
Major Decisions
Review Focus