Simple Icons welcomes contributions and corrections. Before contributing, please make sure you have read the guidelines below. If you decide to contribute anything, please do the following:
- Fork this repository
- Create a new branch from the latest
master
(read more here) - Start hacking on the new branch
- Commit and push to the new branch
- Make a pull request
Also consider the following, this bot is tailor-made for Simple Icons and changes should always be made with that in mind. If you wish to implement significant changes you are perhaps better off forking of off this repository entirely.
Please note that modifications should follow these coding guidelines:
- Indent is 2 spaces
- Use
async
/await
over Promises and callbacks - Code should pass
npm test
Tests for this bot are written using Jest. For more information about testing a Probot have a look over here. The testing code adheres to the same style guidelines as the source code. If you need a new event, have a look in test/payloads
. If you need a new icon or configuration file (or other file) have a look in test/fixtures
.
To run the bot locally, follow the Developing an App instructions from the Probot documentation. This particular bot requires these Permissions & events for the GitHub App:
- Repository Contents - Read & Write
- Check the box for Push events
- Single File - Read-only
- Path:
.github/svg-to-pdf.yml
- Path: