Allow changelog generation from upstream repositories instead of only
the current working directory. Supports packaging repos that contain
only rpm spec files while the source lives in an external git repo.
- source-dir: point at an existing local checkout
- repo-url: action clones a bare copy automatically
- source-dir takes precedence if both are set
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Generates an rpm %changelog entry from git history and prepends it
to the target spec file. Runs in release CI so every tag push gets
a fresh dated entry covering the commits since the previous matching
tag. Avoids stale dates, forgotten bumps, and bogus-weekday warnings.
Inputs: spec path, version, optional release suffix, author,
tag-pattern, exclude-patterns. The last two make the defaults (v*
tags, filter bump-version chores and merges) tweakable for projects
with different conventions.
Migrated from inline logic in helexa/cortex so any project can
adopt the same pattern with a single uses: reference.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>