nix-rust / nix

Rust friendly bindings to *nix APIs
MIT License
2.57k stars 650 forks source link

ci: check newly-added CHANGELOGs in CI #2364

Closed SteveLauC closed 2 months ago

SteveLauC commented 2 months ago

What does this PR do

This PR adds a new composite Github Action check_new_changelog(.github/actions/check_new_changelog/action.yml) and applies it in our ci.yml, for those newly-added changelog files under the changelog directory, it will check:

  1. the CHANGELOG kind belongs to [added, changed, fixed, removed]
  2. the PR number matches the real one
  3. the file extension is md

Closes #2357

Checklist: