Contributing via pull requests

Pull Request Checklist

You are able to implement a new feature or fix an issue by pull requests, before sending pull requests, make sure you followed this list

  • Read contributing guidelines
  • Read Code of Conduct
  • Write unit test cases and make sure the unit test is passed
  • It is mandatory to output solution id. Here is an example, you only need to replace the SolutionId Value with yours

To send us a pull request by doing the following:

Fork the repository

  1. On GitHub, navigate to the awslabs/aws-cloudfront-extensions repository
  2. In the top right of the page, choose Fork Fork

Make changes and test

  1. Clone the forked repository and make code changes
  2. Run npm test or pytest depends on your language and make sure the unit test is passed Unit Test
  3. Commit to your fork repository

Send a pull request

  1. Navigate to awslabs/aws-cloudfront-extensions where you created your fork
  2. Choose New pull request New PR
  3. Choose compare across forks
  4. In the “head fork” drop-down menu, select your fork, then use the “compare branch” drop-down menu to select the branch you made your changes in Across Forks
  5. Type in the title and description by following PR template and create the pull request PR Example
  6. Keep tracking until your pull request is approved and merged