Skip to content

Commit bd297e0

Browse files
authored
Merge pull request #873 from aws-observability/thpierce-patch-2
Align failure metrics with other repos
2 parents 19e0f4d + b65afb6 commit bd297e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish-status.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ jobs:
4646
if: ${{ inputs.success }}
4747
run: |
4848
aws cloudwatch put-metric-data --namespace '${{ inputs.namespace }}' \
49-
--metric-name Success \
49+
--metric-name Failure \
5050
--dimensions repository=${{ inputs.repository }},branch=${{ inputs.branch }},workflow=${{ inputs.workflow }} \
51-
--value 1.0
51+
--value 0.0
5252
- name: Publish status failure
5353
if: ${{ !inputs.success }}
5454
run: |
5555
aws cloudwatch put-metric-data --namespace '${{ inputs.namespace }}' \
56-
--metric-name Success \
56+
--metric-name Failure \
5757
--dimensions repository=${{ inputs.repository }},branch=${{ inputs.branch }},workflow=${{ inputs.workflow }} \
58-
--value 0.0
58+
--value 1.0

0 commit comments

Comments
 (0)