-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
38 lines (36 loc) · 1.03 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: CheckRun Timechart
description: Visualizes the performance of CheckRuns run a given SHA using an ASCII timechart
branding:
icon: 'activity'
color: 'gray-dark'
inputs:
SHA:
description: The SHA to check
required: false
TRACE_START:
description: The time from which to start the trace
required: false
DELAY:
description: The amount of time to wait before querying the GitHub API.
default: "5"
required: false
SUMMARY:
description: Set to a truthy value to output the timechart to \$GITHUB_STEP_SUMMARY
default: ""
required: false
DEBUG:
description: set -x and BT_DEBUG
default: ""
required: false
runs:
using: composite
steps:
- shell: bash
working-directory: ${{ github.action_path }}
run: bash ./entrypoint.sh
env:
INPUT_SHA: ${{ inputs.SHA }}
INPUT_TRACE_START: ${{ inputs.TRACE_START }}
INPUT_DELAY: ${{ inputs.DELAY }}
INPUT_SUMMARY: ${{ inputs.SUMMARY }}
INPUT_DEBUG: ${{ inputs.DEBUG }}