You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds changelog validation to release workflow (#24)
## TLDR;
Adds a validation step to the release workflow that checks if all
packages have a changelog entry for the current release version.
## What Does This Do?
This change introduces a new job in the `publish-release.yml` workflow
that validates the existence of changelog entries for each package being
released. This helps ensure that each release includes proper
documentation in the changelog files.
## Brief Details?
The new job iterates through a list of packages, checks for the
existence of a `CHANGELOG.md` file in each package's directory, and
verifies that the file contains an entry for the current release
version. The script uses `grep` to check for a header matching the
version number. If a changelog file is missing or an entry for the
current version is not found, an error message is displayed, and the
workflow exits.
## How Do The Tests Prove The Change Works?
The workflow will fail if any package is missing a `CHANGELOG.md` file
or if a changelog entry for the current release version is not found.
This prevents releases from being published without proper
documentation.
0 commit comments