Skip to content

ci(github-action)!: Update action azure/setup-kubectl (v4.0.1 → v5.0.0)#6488

Merged
joryirving merged 1 commit into
mainfrom
renovate/azure-setup-kubectl-5.x
Mar 25, 2026
Merged

ci(github-action)!: Update action azure/setup-kubectl (v4.0.1 → v5.0.0)#6488
joryirving merged 1 commit into
mainfrom
renovate/azure-setup-kubectl-5.x

Conversation

@smurf-bot

@smurf-bot smurf-bot Bot commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
azure/setup-kubectl action major v4.0.1v5.0.0

Release Notes

azure/setup-kubectl (azure/setup-kubectl)

v5.0.0

Compare Source

Changed
Added

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 PR is behind base branch, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@smurf-bot smurf-bot Bot requested a review from joryirving as a code owner March 25, 2026 18:02
@smurf-bot smurf-bot Bot added renovate/github-action type/major area/github Changes made in the github directory labels Mar 25, 2026
@its-miso

its-miso Bot commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

Automated recommendation: APPROVE

Analysis engine: qwen3-coder-next@http://llama-coder.llm:8080/v1

Summary

This PR updates the azure/setup-kubectl GitHub Action from v4.0.1 to v5.0.0. The change is a major version upgrade, but the release notes indicate no breaking changes to the action's interface or behavior. The update includes several internal improvements and dependency bumps, and introduces a new feature for auto-resolving kubectl versions.

Recommendation

Approve this PR. The upgrade is safe for production use.

  • The action is used in a CI workflow (schemas.yaml) to install kubectl, and the new version maintains compatibility with existing usage patterns.
  • No changes are required in the workflow file itself — only the action reference is updated.
  • The new auto-resolution feature for kubectl versions is a non-breaking enhancement that may simplify future maintenance.

Package Details

azure/setup-kubectl

  • Type: GitHub Action
  • Update: Major (v4.0.1v5.0.0)
  • Release Notes: v5.0.0
  • Key Changes:
    • Node.js runtime updated from node20 to node24 (internal runtime change, no user impact).
    • Kubernetes download URLs updated from cdn.dl.k8s.io to dl.k8s.io (improves reliability and removes redirects).
    • Dependency bumps: undici, @actions/http-client, minimatch (security/stability improvements).
    • New feature: Auto-resolve kubectl major.minor to latest patch version (e.g., 1.311.31.4) — this is additive and non-breaking.
    • Added husky pre-commit hook (development tooling only).

Usage Impact

The action is used in .github/workflows/schemas.yaml as:

- name: Install kubectl
  uses: azure/setup-kubectl@15650b3ad78fff148532a140b8a4c821796b2d7b # v5.0.0

No workflow modifications are required. The action will continue to work with the same inputs (e.g., kubectl-version, token, etc.) as before.

Unknowns / Needs Verification

  • Node.js 24 runtime: While the runtime change is internal, if your CI environment has strict Node.js version constraints (e.g., via actions/setup-node), ensure compatibility. However, GitHub-hosted runners already support Node.js 24.
  • Auto-resolution behavior: If your workflow relies on exact kubectl version pinning (e.g., v1.31.0), the new auto-resolution feature will not affect it — it only applies when using major.minor patterns like 1.31.

Sources

@joryirving joryirving merged commit 2834ccf into main Mar 25, 2026
13 checks passed
@joryirving joryirving deleted the renovate/azure-setup-kubectl-5.x branch March 25, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/github Changes made in the github directory renovate/github-action type/major

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant