Decathlon / release-notes-generator-action

Action to auto generate a release note based on your events
Apache License 2.0
116 stars 21 forks source link

feat: added support for workflow dispatch #22

Closed mmornati closed 3 years ago

mmornati commented 3 years ago

Why?

GitHub added a while ago a way to manually trigger actions workflow: https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/ In some cases it would be useful to be able to trigger the action without opening/closing the milestone (for example in case of errors).

What?

Action is updated to be able to take in count the milestone ID from the workflow_dispatch parameters instead of the GitHub event json object.

Closes Issue #14

Tests

All the tests were made here. The PR is working both for the workflow_dispatch workflow and the milestone closure one. image image