forked from peimanja/promtool-github-actions
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
28 lines (28 loc) · 881 Bytes
/
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
name: 'Promtool GitHub Actions'
description: 'Runs Prometheus Promtool commands via GitHub Actions.'
author: 'Peiman Jafari'
branding:
icon: 'terminal'
color: 'purple'
inputs:
promtool_actions_subcommand:
description: 'Promtool subcommand to execute (configs, rules or alertmanager).'
required: true
promtool_actions_files:
description: 'Path to files. Can be something like `configs/*.yml` or `alert_rules/*.yml`.'
required: true
promtool_actions_flags:
description: 'Promtool flags.'
default: ''
promtool_actions_version:
description: 'Promtool version to install.'
default: 'latest'
amtool_actions_version:
description: 'Amtool version to install.'
default: 'latest'
promtool_actions_comment:
description: 'Whether or not to comment on pull requests.'
default: true
runs:
using: 'docker'
image: './Dockerfile'