aws-solutions / media-insights-on-aws

A serverless framework to accelerate the development of applications that discover next-generation insights in your video, audio, text, and image resources by utilizing AWS Machine Learning and Media services.
Apache License 2.0
248 stars 88 forks source link

Fix broken PR workflow so it doesn't block merge #734

Closed colinazn closed 1 year ago

colinazn commented 1 year ago

Background

The development branch requires actions from the PR Workflow to complete successfully, otherwise Pull Requests are blocked from merging.

The PR Workflow does the following:

  1. Build the Cloud Formation stack
  2. Deploy the stack to an AWS account
  3. Run CFN nag
  4. Run unit tests
  5. Run integration tests against the deployed stack
  6. Delete the stack from the AWS account

The AWS account was closed so the workflow is broken.

Disabling the entire PR Workflow from running doesn't work because the branch requires the build-us-west-2 and test-us-west-2 steps to complete, otherwise it blocks the PR from merging.

Change

Issue #, if available:

Description of changes: See above.

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