From f51c290f0415c9878f45fdc67b07d22b781910a0 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sun, 16 Aug 2026 22:13:57 +0200 Subject: [PATCH] feat: add chart-path input and document all action inputs Add a configurable chart-path input defaulting to ${{ github.workspace }}/Chart.yaml so consumers can point the action at non-standard chart locations. Update the README inputs table to document all available inputs including yq-related parameters. Co-authored-by: Copilot --- README.md | 16 +++++++++++----- action.yaml | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a34f2e6..fcf9bc8 100644 --- a/README.md +++ b/README.md @@ -37,15 +37,21 @@ steps: ## Inputs -| Name | Required | Default | Description | -| --------- | -------- | ------------- | ------------------------------------ | -| `old-tag` | no | auto-detected | Start tag for changelog generation. | -| `new-tag` | no | auto-detected | End tag for changelog generation. | +| Name | Required | Default | Description | +| ------------------ | -------- | ------------------------------------ | ------------------------------------------ | +| `chart-path` | no | `${{ github.workspace }}/Chart.yaml` | Path to the Helm chart file. | +| `old-tag` | no | auto-detected | Start tag for changelog generation. | +| `new-tag` | no | auto-detected | End tag for changelog generation. | +| `yq-version` | no | `v4.44.6` | Version of yq to install. | +| `yq-arch` | no | auto-detected | Architecture of yq binary to download. | +| `yq-os` | no | auto-detected | Operating system of yq binary to download. | +| `yq-binary-name` | no | `yq` | Name of the yq binary to download. | +| `yq-download-url` | no | auto-built | Full URL to download yq from. | ## Requirements - The repository must be checked out with full history (`fetch-depth: 0`). -- A `Chart.yaml` file must exist in the working directory. +- A `Chart.yaml` file must exist at the path specified by `chart-path`. - Commit messages must follow the [Conventional Commits](https://www.conventionalcommits.org/) format. ## Commit type mapping diff --git a/action.yaml b/action.yaml index 6c1ebee..59e3dee 100644 --- a/action.yaml +++ b/action.yaml @@ -4,7 +4,7 @@ description: "Generate ArtifactHub changelog annotations from git commit history inputs: chart-path: description: "Path to the Helm chart file" - default: "./Chart.yaml" + default: "${{ github.workspace }}/Chart.yaml" required: false old-tag: description: "Start tag for changelog generation. If not set, auto-detected from git tags."