GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||
GeezerVison is showing github.com — Fix checkout action version in `fleetctl new` template by sgress454 · Pull Request #45502 · fleetdm/fleet Conversation
|
WalkthroughThis PR updates the fleetctl new template's GitHub Actions workflow: the "Checkout this repository" step now uses actions/checkout@v6 instead of actions/checkout@v4. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
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 `@changes/fix-fleetctl-new-checkout-action`:
- Line 1: The changelog claims the checkout action update "avoids Node warnings"
but the template still uses actions/[email protected] (Node 16); either change the
checkout version in the fleetctl new template to a v4 (Node 20) or v5+ (Node 24)
release (update the template that renders the workflow) or edit the changelog
entry to accurately state which version was updated and that Node warnings may
still occur; ensure you update the template reference for actions/checkout (or
the changelog text) consistently so the template and changelog match.
Fix all unresolved CodeRabbit comments on this PR:
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 6823773c-e5d6-44c0-bf5b-ab3f589b348a
Reviewing files that changed from the base of the PR and between e8a8868 and 8379a8f0a5857a321cd60158f6bd9d51d01e6f25.
changes/fix-fleetctl-new-checkout-actioncmd/fleetctl/fleetctl/templates/new/.github/workflows/workflow.template.yml
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
5284cb0 to
47d171f
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
cmd/fleetctl/fleetctl/templates/new/.github/workflows/workflow.template.yml (1)
34-34: No changes needed; optionally pin to commit SHA for enhanced security.v6.0.2 (released late 2025) is stable with no breaking changes for standard workflows—tag-based versioning (
@v6) is acceptable. For enhanced security per GitHub Actions best practices, consider pinning to a full-length commit SHA instead, though this is optional for this trusted public action.🤖 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 `@cmd/fleetctl/fleetctl/templates/new/.github/workflows/workflow.template.yml` at line 34, The workflow currently references the public action tag "actions/checkout@v6" in workflow.template.yml; optionally replace or offer an alternative to pin to a full commit SHA for actions/checkout to harden supply-chain security—update the uses entry (actions/checkout@v6) to use the chosen full-length commit SHA instead of the tag, and document the decision in the template so maintainers know pinning is optional and why.
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@cmd/fleetctl/fleetctl/templates/new/.github/workflows/workflow.template.yml`:
- Line 34: The workflow currently references the public action tag
"actions/checkout@v6" in workflow.template.yml; optionally replace or offer an
alternative to pin to a full commit SHA for actions/checkout to harden
supply-chain security—update the uses entry (actions/checkout@v6) to use the
chosen full-length commit SHA instead of the tag, and document the decision in
the template so maintainers know pinning is optional and why.
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 4f90b5cd-8f99-46ad-b63b-ae7981f39b6f
Reviewing files that changed from the base of the PR and between 8379a8f0a5857a321cd60158f6bd9d51d01e6f25 and 47d171f.
changes/fix-fleetctl-new-checkout-actioncmd/fleetctl/fleetctl/templates/new/.github/workflows/workflow.template.yml
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Note we should do this across the board in Fleet, but making sure I bump this one regardless. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
47d171ff
Deployed
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.