checkout/CONTRIBUTING.md
2022-11-14 12:34:06 -05:00

1.3 KiB

Contributing

Submitting a pull request

  1. Fork and clone the repository
  2. Configure and install the dependencies: npm ci
  3. Create a new branch: git checkout -b my-branch-name
  4. Make your change, add tests, and make sure the tests still pass: npm run test
  5. Make sure your code is correctly formatted: npm run format
  6. Update dist/index.js using npm run build. This creates a single javascript file that is used as an entrypoint for the action
  7. Push to your fork and submit a pull request
  8. Pat yourself on the back and wait for your pull request to be reviewed and merged

Here are a few things you can do that will increase the likelihood of your pull request being accepted:

  • Write tests.
  • 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.

Resources

Thanks! ❤️ ❤️ ❤️

GitHub Actions Team :octocat: