linux-system-roles / kdump

An ansible role which configures kdump
https://linux-system-roles.github.io/kdump/
MIT License
19 stars 21 forks source link

[citest skip] Add changelog_to_tag.yml to .github/workflows #106

Closed nhosoi closed 2 years ago

nhosoi commented 2 years ago

Description: When a new changelog section is added to CHANGELOG.md and pushed, changelog_to_tag.yml is triggered, which generates a new tag and a new release.

Example of CHANGELOG.md changes:

  [9.9.9] - 2022-12-31
  --------------------

  ### New features

  - New feature A

  ### Bug fixes

  - Bug fix B

Using this example, when the commit on CHANGELOG.md is pushed, a new tag "9.9.9" is added and Version 9.9.9 is released in github. If tag "9.9.9" already exists, the CHANGELOG.md push fails.

Note: This PR needs to be merged after https://github.com/linux-system-roles/kdump/pull/105 is merged since we don't want pushing the initial CHANGELOG.md triggers the action.