All contributions are welcome and greatly appreciated!
Check the
.node-version
file in the root of this repo so see what version of Node.js is required for local development - note, this can be different from the version of Node.js which runs the Action on GitHub runners. It is suggested to download nodenv which uses this file and manages your Node.js versions for you
- Fork this repository
- Commit your changes
- Test your changes (learn how to test below)
- Open a pull request back to this repository
Make sure to run
npm run all
as your final commit! - Notify the maintainers of this repository for peer review and approval
- Merge!
The maintainers of this repository will create a new release with your changes so that everyone can use the new release and enjoy the awesome features of this Action
This project requires 100% test coverage
Simply run the following command to execute the entire test suite:
npm run test
Note: this requires that you have already run
npm install
Answers to questions you might have around testing
Q: Why do I have to commit my changes to main
?
A: The on: issue_comment
workflow only uses workflow files from the main
branch by design - learn more in the branch-deploy repo
Q: How can I test my changes once my PR is merged and before a new release is created?
A: You should create a repo like this one that uses github/command@main
as the Action version and test your changes there