From fae4dcb18b1cf67c920f84995be80ea38223ac7a Mon Sep 17 00:00:00 2001 From: Andre Brisco Date: Fri, 6 Nov 2026 11:01:18 -0800 Subject: [PATCH] Add required_providers to lint aspects --- .github/workflows/ci.yaml | 4 ++-- helm/private/import.bzl | 1 + helm/private/lint.bzl | 1 + helm/private/package.bzl | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ab831244..d3866d34 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -52,7 +52,7 @@ jobs: strategy: matrix: include: - - os: macos-14 + - os: macos-latest - os: ubuntu-22.04 - os: ubuntu-24.04-arm - os: windows-latest @@ -88,7 +88,7 @@ jobs: strategy: matrix: include: - - os: macos-14 + - os: macos-latest - os: ubuntu-22.04 - os: ubuntu-24.04-arm - os: windows-latest diff --git a/helm/private/import.bzl b/helm/private/import.bzl index 5da03ea6..d68aedea 100644 --- a/helm/private/import.bzl +++ b/helm/private/import.bzl @@ -37,6 +37,7 @@ helm_import = rule( doc = "The version fo the helm chart", ), }, + provides = [HelmPackageInfo], ) def _find_chart_url(repository_ctx, repo_file, chart_name, chart_version): diff --git a/helm/private/lint.bzl b/helm/private/lint.bzl index 3a289368..2ac0aec9 100644 --- a/helm/private/lint.bzl +++ b/helm/private/lint.bzl @@ -68,6 +68,7 @@ helm_lint_aspect = aspect( default = Label("//helm/settings:lint_default_strict"), ), }, + required_providers = [HelmPackageInfo], toolchains = [ str(Label("//helm:toolchain_type")), ], diff --git a/helm/private/package.bzl b/helm/private/package.bzl index 790a84e1..1dce38e5 100644 --- a/helm/private/package.bzl +++ b/helm/private/package.bzl @@ -297,6 +297,7 @@ helm_package = rule( default = Label("//helm/private:stamp"), ), }, + provides = [HelmPackageInfo], toolchains = [ str(Label("@rules_helm//helm:toolchain_type")), ],