forked from karancode/promtool-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
28 lines (28 loc) · 750 Bytes
/
action.yml
File metadata and controls
28 lines (28 loc) · 750 Bytes
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
# action.yaml
name: 'Promtool Github Action'
author: 'karancode <karanthanvi0@gmail.com>'
description: 'Github action for promtool - quickly check whether a rule file is syntactically correct'
branding:
icon: 'sun'
color: 'orange'
inputs:
prom_version:
description: 'Prometheus version'
required: false
default: '2.16.0'
prom_check_subcommand:
description: 'Promtool check command - config|rules'
required: true
prom_check_files:
description: 'Promtheus config/rules file to check'
required: true
prom_comment:
description: 'Comment promtool output'
required: false
default: '0'
outputs:
promtool_output:
description: 'Output of promtool check'
runs:
using: 'docker'
image: 'Dockerfile'