aws-samples / retail-demo-store

AWS Retail Demo Store is a sample retail web application and workshop platform demonstrating how AWS infrastructure and services can be used to build compelling customer experiences for eCommerce, retail, and digital marketing use-cases
MIT No Attribution
728 stars 516 forks source link

Only show the build status of the master branch in the README badges #500

Closed ConnorKirk closed 1 year ago

ConnorKirk commented 1 year ago

Issue #, if available: n/a

Description of changes: Currently the status badges in the README display the latest build status, regardless of branch. That means that a failed build of a pull request will cause a failure badge to be displayed. This PR solves this by:

  1. Running the CI jobs on merge to master.
  2. Updating the badge to only display the status of builds of the master branch

Description of testing performed to validate your changes (required if pull request includes CloudFormation or source code changes):

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.