index
This GitHub Action generates a changelog between two container image versions by inspecting their package lists (RPMs) using skopeo and verifying attestation with cosign.
It supports both explicit tag comparison and automatic tag discovery based on a release stream (e.g., stable, latest).
Usage
- name: Generate Changelog
uses: tuna-os/changelog-action@master
with:
registry: ghcr.io/tuna-os/
cosign-key: https://raw.githubusercontent.com/tuna-os/tunaos/main/cosign.pub
images: bonito skipjack
stream: stable
output: changelog.md
The org repo has no release tags, so this pins a moving branch — every merge here is live for consumers immediately, with no version to hold them back. The maintainers should cut a
v1tag (the README previously referencedhanthor/changelog-action@v1, a personal repo, and@v1does not exist ontuna-os/changelog-action).The default branch is being renamed
master->main. Change this to@mainonce that has happened — GitHub does not keep the old ref alive after a rename, so@masterstops resolving at that moment.
Inputs
| Input | Description | Required | Default |
|---|---|---|---|
family | Known image family (e.g. bluefin) — provides registry, cosign-key, and images automatically | No | |
registry | Container registry URL | Yes* | |
cosign-key | URL or path to cosign public key | Yes* | |
images | Space-separated list of image names (e.g. bonito skipjack) | Yes* | |
stream | Release stream for auto-discovery (e.g. stable, latest) | No | |
tag-pattern | Regex for tag discovery (e.g. ^\d{8}$). Only used when stream is set | No | |
prev_tag | Previous release tag (ignored if stream is set) | No | |
curr_tag | Current release tag (ignored if stream is set) | No | |
handwritten | Optional introductory text for the changelog | No | |
output | Output file path | No | changelog.md |
output-env | Output environment file path (TITLE=... TAG=...) | No | |
json | Output JSON instead of Markdown | No | false |
verbose | Enable debug logging | No | false |
Development & Testing
For local test execution commands and contribution guidelines, see CONTRIBUTING.md.