Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
- Have a question? Found a bug? Have an idea?
- Submitting the Pull Request
- Merging the Pull Request & releasing a new version
- Resources
Please create an issue.
I love pull requests 😍 but before you put in too much time I’d appreciate if you created an issue first to make sure that it is an actual issue.
If you would like to contribute a bug fix or new feature (after discussing in an issue), please add tests.
Each test is a folder such as test/push-master-has-tweet
. You can either adapt one of the existing tests or create a new folder by copying it.
Each folder has a test.js
file which runs the test, an event.json
file which has the payload for the event you want to simulate and any other files that simulate a certain state a repository would be in.
You can run the tests using npm test
. You can run a single test using npx tap test/<your folder here>
.
Releases are automated using semantic-release. The following commit message conventions determine which version is released:
fix: ...
orfix(scope name): ...
prefix in subject: bumps fix version, e.g.1.2.3
→1.2.4
feat: ...
orfeat(scope name): ...
prefix in subject: bumps feature version, e.g.1.2.3
→1.3.0
BREAKING CHANGE:
in body: bumps breaking version, e.g.1.2.3
→2.0.0
Only one version number is bumped at a time, the highest version change trumps the others.
If the pull request looks good but does not follow the commit conventions, use the "Squash & merge" button.