New features
tools.exit
A collection of methods to end the action's process and tell GitHub what status to set (success, neutral or failure). Internally, these methods call process.exit
with the appropriate exit code. You can pass an optional message to each one to be logged before exiting. This can be used like an early return:
if (someCheck) tools.exit.neutral('No _action_ necessary!')
if (anError) tools.exit.failure('We failed!')
tools.exit.success('We did it team!')
What’s Changed
- Publish tags from releases (#40) @JasonEtco
- Allow only a list of events (#37) @JasonEtco
- Add methods to exit an action (#39) @JasonEtco