Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@fchimpan
Copy link

Summary

Update actions/checkout from v4 to v6 in extension workflow templates.

Changes

  • pkg/cmd/extension/ext_tmpls/goBinWorkflow.yml
  • pkg/cmd/extension/ext_tmpls/otherBinWorkflow.yml

Fix #12392

Copilot AI review requested due to automatic review settings December 30, 2025 14:42
@fchimpan fchimpan requested a review from a team as a code owner December 30, 2025 14:42
@fchimpan fchimpan requested a review from babakks December 30, 2025 14:42
@cliAutomation cliAutomation added the external pull request originating outside of the CLI core team label Dec 30, 2025
@github-actions
Copy link

Thank you for your pull request! 🎉

This PR appears to fix the following issues that are not labeled with help wanted Contributions welcome :

As outlined in our Contributing Guidelines, we expect that PRs are only created for issues that have been labeled help wanted.

While we appreciate your initiative, please note that:

  • PRs for non-help wanted issues may not be reviewed immediately as they might not align with our current priorities
  • The issue might already be assigned to a team member or planned for a specific release
  • We may need to close this PR. For example, if it conflicts with ongoing work or architectural decisions

What happens next:

  • Our team will review this PR and the associated issues
  • We may add the help wanted label to the issues, if appropriate, and review this pull request
  • In some cases, we may need to close the PR. For example, if it doesn't fit our current roadmap

Thank you for your understanding and contribution to the project! 🙏

This comment was automatically generated by cliAutomation.

Copy link
Contributor

Copilot AI left a 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@v4 to actions/checkout@v6 in 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 use actions/checkout@v6
  • These were the only two template files that still referenced v4
  • Both templates are embedded in manager.go and 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external pull request originating outside of the CLI core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update actions/checkout version in extension workflow templates

2 participants