Skip to content

Commit

Permalink
Adding filter for newrelic (#1418)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben851 authored Jul 8, 2024
1 parent 1594c60 commit 86183c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/terragrunt_plan_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
lambda-google-cidr: ${{ steps.filter.outputs.lambda-google-cidr }}
system_status: ${{ steps.filter.outputs.system_status }}
system_status_static_site: ${{ steps.filter.outputs.system_status_static_site }}
new_relic: ${{ steps.filter.outputs.newrelic }}

steps:

Expand Down Expand Up @@ -691,6 +692,7 @@ jobs:
terragrunt-plan-newrelic:
if: |
always() &&
needs.terragrunt-filter.outputs.newrelic == 'true' &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled')
runs-on: ubuntu-latest
Expand Down

0 comments on commit 86183c8

Please sign in to comment.