Welcome to the Contributing Guidelines!
Follow the issue template based on what you are submitting (eg. Bugs uses Bug template, Feature uses Feature template, etc.). Next, make sure that all fields are filled out.
There are two different types of PRs you might submit.
This is pretty simple. Simply fix the bug (and make sure it's fixed) and then submit the PR. Make sure you didn't create any additional bugs, and tested it.
If you're adding a new country, then make sure that:
- You're source is reliable, I'd highly suggest John Hopkins or Worldometers
- You have enough data. Simply having the amount of cases and deaths isn't enough.
- All workflows pass, if you have a bug which you can't fix, post it on Stack Overflow! You can get answers quick!
NOTE: The build workflow might fail at certain times as it's time is set to UTC, so when you run it, it might try to fetch a file that does not exist, you can instead make sure that your code works with:
cd scripts
bash update.sh
- You've created a new directory for the country, like the
/us
directory.
You can then submit your PR to the repo, and it'll be merged ASAP.
Make sure to follow the Code Of Conduct no matter what, with an issue or PR, and submit an issue if you see something that you think shouldn't be done.