File tree Expand file tree Collapse file tree 2 files changed +0
-83
lines changed Expand file tree Collapse file tree 2 files changed +0
-83
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5454 shell : bash
5555 run : |
5656 npm run live-dependency-health-checks
57- log-failure-metric :
58- runs-on : ubuntu-latest
59- needs :
60- [local_checks_with_latest_dependencies, live_dependency_health_checks]
61- permissions :
62- # these permissions are required for the configure-aws-credentials action to get a JWT from GitHub
63- id-token : write
64- contents : read
65- if : ${{ failure() }}
66- steps :
67- - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # version 3.6.0
68- - name : Log failure
69- uses : ./.github/actions/log-metric
70- with :
71- metric-name : WorkflowExecutionFailure
72- value : 1
73- # github.workflow - workflow name
74- # github.ref_name - branch or tag name
75- dimensions : workflow=${{ github.workflow }},ref_name=${{ github.ref_name }}
76- role-to-assume : ${{ secrets.METRICS_EMITTER_ROLE_ARN }}
77- aws-region : us-west-2
78- log-success-metric :
79- runs-on : ubuntu-latest
80- needs :
81- [local_checks_with_latest_dependencies, live_dependency_health_checks]
82- permissions :
83- # these permissions are required for the configure-aws-credentials action to get a JWT from GitHub
84- id-token : write
85- contents : read
86- if : ${{ success() }}
87- steps :
88- - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # version 3.6.0
89- - name : Log success
90- uses : ./.github/actions/log-metric
91- with :
92- metric-name : WorkflowExecutionFailure
93- value : 0
94- # github.workflow - workflow name
95- # github.ref_name - branch or tag name
96- dimensions : workflow=${{ github.workflow }},ref_name=${{ github.ref_name }}
97- role-to-assume : ${{ secrets.METRICS_EMITTER_ROLE_ARN }}
98- aws-region : us-west-2
You can’t perform that action at this time.
0 commit comments