chore: GH Actions hardening — pin actions to SHA, add permissions and timeouts#176
Merged
dielduarte merged 2 commits intoMay 12, 2026
Conversation
… timeouts Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Contributor
There was a problem hiding this comment.
cubic analysis
No issues found across 1 file
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Linked issue analysis
Linked issue: DEV-664: [resend-ruby] GH Actions hardening — 1 HIGH / 1 MED / 1 LOW
| Status | Acceptance criteria | Notes |
|---|---|---|
| ✅ | Pin ruby/setup-ruby@v1 to a specific commit SHA (avoid floating tag) | The workflow now references ruby/setup-ruby with a commit SHA instead of the floating v1 tag. |
| ✅ | Add top-level permissions to the workflow | A top-level permissions block was added with contents: read. |
| ✅ | Add timeout-minutes to the test job in build.yml | The test job now sets timeout-minutes to limit runtime. |
Auto-approved: This change hardens the GitHub Actions workflow by pinning actions to specific commit SHAs, restricting permissions to read-only, and adding a timeout, which significantly improves security with no risk to the codebase.
felipefreitag
approved these changes
May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by cubic
Hardened GitHub Actions for
resend-ruby: pinnedactions/checkoutandruby/setup-rubyto commit SHAs, set top‑levelpermissions: contents: read, and added a 15‑minute timeout to the test job. Addresses Linear DEV-664 (1 HIGH, 1 MED, 1 LOW).Written for commit ad5ae92. Summary will update on new commits.