-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Update actions/checkout to v6 in extension workflow templates #12393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thank you for your pull request! 🎉 This PR appears to fix the following issues that are not labeled with
help wanted
As outlined in our Contributing Guidelines, we expect that PRs are only created for issues that have been labeled While we appreciate your initiative, please note that:
What happens next:
Thank you for your understanding and contribution to the project! 🙏 This comment was automatically generated by cliAutomation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the actions/checkout action from v4 to v6 in the GitHub CLI extension workflow templates. These templates are used when users create new gh extensions via gh extension create, ensuring that newly created extensions use the latest version of the checkout action.
Key Changes:
- Updated
actions/checkout@v4toactions/checkout@v6in both Go and non-Go binary extension workflow templates
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
pkg/cmd/extension/ext_tmpls/goBinWorkflow.yml |
Updated checkout action to v6 in the Go binary extension workflow template |
pkg/cmd/extension/ext_tmpls/otherBinWorkflow.yml |
Updated checkout action to v6 in the non-Go binary extension workflow template |
Review Summary:
The changes are correct and consistent. I verified that:
- All other workflow files in the repository (
.github/workflows/*) already useactions/checkout@v6 - These were the only two template files that still referenced v4
- Both templates are embedded in
manager.goand used when creating new extensions - The update ensures newly created extensions will use the current version of the checkout action
No issues found. The PR successfully brings the extension templates in line with the rest of the repository's workflows. ✅
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This comment was marked as spam.
This comment was marked as spam.
BagToad
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @fchimpan, thanks for noticing these are out of date and bumping them 🙏
Summary
Update
actions/checkoutfrom v4 to v6 in extension workflow templates.Changes
pkg/cmd/extension/ext_tmpls/goBinWorkflow.ymlpkg/cmd/extension/ext_tmpls/otherBinWorkflow.ymlFix #12392