Skip to content

Update actions/checkout to v6 in extension workflow templates#12393

Merged
BagToad merged 1 commit intocli:trunkfrom
fchimpan:update-extention-create-template
Jan 7, 2026
Merged

Update actions/checkout to v6 in extension workflow templates#12393
BagToad merged 1 commit intocli:trunkfrom
fchimpan:update-extention-create-template

Conversation

@fchimpan
Copy link
Contributor

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.

@jjrauch32-lab

This comment was marked as spam.

jjrauch32-lab

This comment was marked as spam.

Copy link
Member

@BagToad BagToad left a 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 🙏

@BagToad BagToad enabled auto-merge January 7, 2026 18:40
@BagToad BagToad merged commit d808dcd into cli:trunk Jan 7, 2026
19 checks passed
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Jan 17, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [cli/cli](https://github.com/cli/cli) | minor | `v2.83.2` → `v2.85.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>cli/cli (cli/cli)</summary>

### [`v2.85.0`](https://github.com/cli/cli/releases/tag/v2.85.0): GitHub CLI 2.85.0

[Compare Source](cli/cli@v2.83.2...v2.85.0)

#### What's Changed

##### ✨ Features

- Add gh browse --actions flag by [@&#8203;rneatherway](https://github.com/rneatherway) in [#&#8203;12091](cli/cli#12091)
- feat: allow git remote names in gh repo set-default by [@&#8203;majiayu000](https://github.com/majiayu000) in [#&#8203;12377](cli/cli#12377)

##### 🐛 Fixes

- Fix Debian CLI package link in installation guide by [@&#8203;andyfeller](https://github.com/andyfeller) in [#&#8203;12291](cli/cli#12291)
- fix: prevent panic when processing null project items by [@&#8203;chrishenzie](https://github.com/chrishenzie) in [#&#8203;12324](cli/cli#12324)

##### 📚 Docs & Chores

- chore: upgrade to `cli/oauth@v1.2.1`  by [@&#8203;babakks](https://github.com/babakks) in [#&#8203;12337](cli/cli#12337)
- ci: upgrade to GoReleaser `v2` by [@&#8203;babakks](https://github.com/babakks) in [#&#8203;12318](cli/cli#12318)
- CI: Update Azure Code Signing client to 1.0.95 by [@&#8203;BagToad](https://github.com/BagToad) in [#&#8203;12424](cli/cli#12424)
- CI: Update Azure Code Signing endpoint URL by [@&#8203;BagToad](https://github.com/BagToad) in [#&#8203;12425](cli/cli#12425)
- ci: tag per build job by [@&#8203;babakks](https://github.com/babakks) in [#&#8203;12428](cli/cli#12428)
- CI: Add shell specification for temporary tag creation on Windows by [@&#8203;BagToad](https://github.com/BagToad) in [#&#8203;12429](cli/cli#12429)
- Bump sigstore-go to v1.1.4 by [@&#8203;williammartin](https://github.com/williammartin) in [#&#8203;12289](cli/cli#12289)
- Update actions/checkout to v6 in extension workflow templates by [@&#8203;fchimpan](https://github.com/fchimpan) in [#&#8203;12393](cli/cli#12393)
- ci: enable noop linters by [@&#8203;babakks](https://github.com/babakks) in [#&#8203;12440](cli/cli#12440)

##### :dependabot: Dependencies

- chore(deps): bump golang.org/x/sync from 0.18.0 to 0.19.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;12274](cli/cli#12274)
- chore(deps): bump golang.org/x/text from 0.31.0 to 0.32.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;12281](cli/cli#12281)
- chore(deps): bump golang.org/x/term from 0.37.0 to 0.38.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;12282](cli/cli#12282)
- chore(deps): bump github.com/spf13/cobra from 1.10.1 to 1.10.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;12255](cli/cli#12255)
- chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.1 to 2.13.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;12262](cli/cli#12262)
- chore(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;12252](cli/cli#12252)
- chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.2 to 2.13.4 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;12302](cli/cli#12302)
- chore(deps): bump golang.org/x/crypto from 0.45.0 to 0.46.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;12300](cli/cli#12300)
- chore(deps): bump actions/attest-build-provenance from 3.0.0 to 3.1.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;12339](cli/cli#12339)
- chore(deps): bump github.com/yuin/goldmark from 1.7.13 to 1.7.16 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;12452](cli/cli#12452)

#### New Contributors

- [@&#8203;chrishenzie](https://github.com/chrishenzie) made their first contribution in [#&#8203;12324](cli/cli#12324)
- [@&#8203;fchimpan](https://github.com/fchimpan) made their first contribution in [#&#8203;12393](cli/cli#12393)
- [@&#8203;majiayu000](https://github.com/majiayu000) made their first contribution in [#&#8203;12377](cli/cli#12377)

**Full Changelog**: <cli/cli@v2.83.2...v2.85.0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44MS4yIiwidXBkYXRlZEluVmVyIjoiNDIuODEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90IiwiYXV0b21hdGlvbjpib3QtYXV0aG9yZWQiLCJkZXBlbmRlbmN5LXR5cGU6Om1pbm9yIl19-->
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

4 participants