-
Notifications
You must be signed in to change notification settings - Fork 23
/
CONTRIBUTING
37 lines (26 loc) · 1.94 KB
/
CONTRIBUTING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Contributing
[fork]: https://github.com/advanced-security/secret-scanning-custom-patterns/fork
[pr]: https://github.com/advanced-security/secret-scanning-custom-patterns/compare
[style]: https://github.com/advanced-security/secret-scanning-custom-patterns/blob/main/.eslintrc.json
[code-of-conduct]: CODE_OF_CONDUCT.md
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
Contributions to this project are [released](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license) to the public under the [project's open source license](LICENSE.md).
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
## How to contribute
1. Fork the project.
2. Create your feature branch: `git checkout -b my-new-feature`.
3. Create your changes.
4. Make sure the tests pass on your machine if you have added or updated any:
- `pipenv run test`
- If you don't have `pipenv` installed, you can install it with `pip install pipenv`.
- Tests will try to access the secret scanning API with the `GITHUB_TOKEN` environment variable.
5. Commit your changes: `git commit -am 'Add some feature'`.
6. Open a pull request.
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
- Write expected tests for your changes.
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
## Resources
- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)
- [Using Pull Requests](https://help.github.com/articles/about-pull-requests/)
- [GitHub Help](https://help.github.com)