We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6158a3b commit b65afb6Copy full SHA for b65afb6
.github/workflows/publish-status.yml
@@ -46,13 +46,13 @@ jobs:
46
if: ${{ inputs.success }}
47
run: |
48
aws cloudwatch put-metric-data --namespace '${{ inputs.namespace }}' \
49
- --metric-name Success \
+ --metric-name Failure \
50
--dimensions repository=${{ inputs.repository }},branch=${{ inputs.branch }},workflow=${{ inputs.workflow }} \
51
- --value 1.0
+ --value 0.0
52
- name: Publish status failure
53
if: ${{ !inputs.success }}
54
55
56
57
58
- --value 0.0
+ --value 1.0
0 commit comments