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 5f07e73 commit 03b8600Copy full SHA for 03b8600
.github/actions/workflow-metrics/action.yml
@@ -2,11 +2,6 @@ name: Workflow Metrics
2
description: >
3
Track and upload workflow execution time to CloudWatch
4
5
-inputs:
6
- workflow-name:
7
- description: >
8
- Name of the workflow
9
- required: true
10
runs:
11
using: composite
12
steps:
@@ -30,7 +25,7 @@ runs:
30
25
"Dimensions": [
31
26
{
32
27
"Name": "WorkflowName",
33
- "Value": "${{ inputs.workflow-name }}"
28
+ "Value": "${{ github.workflow }}"
34
29
},
35
36
"Name": "Repository",
.github/workflows/api-compat-verification.yml
@@ -40,6 +40,4 @@ jobs:
40
exit 1
41
- name: Upload metrics
42
if: always()
43
- uses: ./.github/actions/workflow-metrics
44
- with:
45
- workflow-name: 'api-compat-verification'
+ uses: ./.github/actions/workflow-metrics
0 commit comments