The default end tag was determined by listing all tags and filtering out prereleases. As a result the currently built
prerelease tag was never evaluated and the changelog was generated for the previous stable release instead. The end tag
is now the tag of the checked out commit, so the prerelease annotation is set as expected. Prerelease filtering remains
in place for the start tag only. Additionally the changelog is no longer skipped for prereleases, since consumers of the
chart benefit from the changes list before the stable release.
Co-authored-by: Copilot <copilot@github.com>
Replace the RC-only pattern with a generic SemVer 2.0 pre-release
pattern so that tags like -alpha, -beta, -dev or -rc are all correctly
detected as pre-releases. Previously only -rc tags were recognized.
Also configure git user identity before tagging in the auto-release
workflow.
Co-authored-by: Copilot <copilot@github.com>
Quote shell variable assignment in auto-release to prevent word splitting
and fix whitespace typo in matrix reference (`matrix .yq-os` → `matrix.yq-os`)
in install-yq workflow.
Co-authored-by: Copilot <copilot@github.com>
Document how the action handles pre-release tags (-rc pattern),
including the prerelease annotation and skipped changelog generation.
Link "ArtifactHub annotations" to the official documentation.
Co-authored-by: Copilot <copilot@github.com>
The command substitution caused the directory path to be executed as a
command rather than written to GITHUB_PATH, resulting in
"Is a directory" errors at runtime.
Co-authored-by: Copilot <copilot@github.com>
Adds a regex customManager to detect and update the yq version
referenced in README.md, using the mikefarah/yq GitHub releases
datasource.
Co-authored-by: Copilot <copilot@github.com>
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 <copilot@github.com>
Allow users to specify a custom path to Chart.yaml via the chart-path
input. The add-annotations.sh script reads the CHART_FILE environment
variable with a fallback to "Chart.yaml" for standalone usage.
Co-authored-by: Copilot <copilot@github.com>
Merge the separate actions/checkout packageRule into the existing
ah-annotations rule to reduce duplication. Update README examples to use
current versions (actions/checkout@v5.0.0, ah-annotations@v0.0.1).
Co-authored-by: Copilot <copilot@github.com>
Escape the forward slash in the ah-annotations regex pattern to ensure
correct matching. Add a packageRule to automerge minor, patch, and
pinDigest updates for actions/checkout.
Co-authored-by: Copilot <copilot@github.com>
Update README examples and renovate customManagers to reference
"ah-annotations" (with trailing 's') matching the repository name on
git.cryptic.systems.
Co-authored-by: Copilot <copilot@github.com>
The git-tags datasource requires a resolvable Git URL to fetch tags.
Without packageNameTemplate, Renovate attempts to use the depName
"volker.raschek/ah-annotation" as a URL, which fails for non-GitHub
repositories.
Co-authored-by: Copilot <copilot@github.com>
The depName and matchStrings referenced "ah-annotations" (with trailing
's') but the repository is named "ah-annotation". Additionally, the
matchStrings patterns used greedy `.+`/`.*` which could capture trailing
whitespace or YAML content beyond the version string. Replace with
`[^\s"']+` to stop at the first delimiter. Escape the dot in
"volker.raschek" to prevent unintended wildcard matching. Add "uses: "
prefix to match the actual README content.
Co-authored-by: Copilot <copilot@github.com>
Move the yq binary version check out of the echo command substitution
into a standalone variable assignment. With set -e, a failed command
inside $() as an argument to echo does not trigger errexit, silently
swallowing errors like "Exec format error". A separate assignment
correctly propagates the failure.
Co-authored-by: Copilot <copilot@github.com>