ADFA-3989: Fix missing AWS CLI in weekly release yaml#1338
ADFA-3989: Fix missing AWS CLI in weekly release yaml#1338Daniel-ADFA wants to merge 197 commits into
Conversation
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
📝 WalkthroughRelease NotesChanges
Risks & Best Practices Violations
WalkthroughThis PR normalizes checkout behavior across multiple GitHub Actions jobs by removing explicit ChangesGitHub Actions workflow and Flox manifest updates
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/weekly-release.yml:
- Around line 228-230: Replace all mutable references to "uses:
actions/checkout@v4" in the workflows with a vetted 40-character commit SHA
(e.g. "actions/checkout@<40-char-sha>"); find each occurrence of the literal
"uses: actions/checkout@v4" and substitute the tag with the immutable commit
SHA, keeping the step parameters (like persist-credentials) unchanged, and
ensure every occurrence is updated consistently across all workflow files.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 20824208-b699-46bc-a8d0-3a9d9eb3bbf4
⛔ Files ignored due to path filters (1)
flox/base/.flox/env/manifest.lockis excluded by!**/*.lock
📒 Files selected for processing (2)
.github/workflows/weekly-release.ymlflox/base/.flox/env/manifest.toml
| - uses: actions/checkout@v4 | ||
| with: | ||
| persist-credentials: false |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Verify unpinned GitHub Actions references in workflow files.
# Expected after fix: no output for the updated line.
rg -nP '^\s*-\s+uses:\s+\S+@(?!(?:[0-9a-f]{40})\b)\S+' .github/workflowsRepository: appdevforall/CodeOnTheGo
Length of output: 519
Pin actions/checkout to an immutable commit SHA (multiple occurrences).
Unpinned actions/checkout@v4 is used in:
.github/workflows/weekly-release.ymlat lines 23, 79, 184, 228, 271.github/workflows/release-plugin-api.ymlat line 20
Use a vetted 40-char commit SHA instead of the mutable tag.
Suggested change
- - uses: actions/checkout@v4
+ - uses: actions/checkout@<audited-actions-checkout-v4-sha>
with:
persist-credentials: false🧰 Tools
🪛 zizmor (1.25.2)
[error] 228-228: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.github/workflows/weekly-release.yml around lines 228 - 230, Replace all
mutable references to "uses: actions/checkout@v4" in the workflows with a vetted
40-character commit SHA (e.g. "actions/checkout@<40-char-sha>"); find each
occurrence of the literal "uses: actions/checkout@v4" and substitute the tag
with the immutable commit SHA, keeping the step parameters (like
persist-credentials) unchanged, and ensure every occurrence is updated
consistently across all workflow files.
No description provided.