generated from dkoshkin/golang-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
44 lines (40 loc) · 1.34 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
39
40
41
42
43
44
# Copyright 2023 Dimitri Koshkin. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
name: 'Github Actions Monitor'
description: 'Push github actions status to a monitoring system'
inputs:
backend:
description: 'The backend to use for pushing metrics, valid values are: influxdb'
required: true
# InfluxDB specific inputs
influxdb_token:
description: 'The token to use for authentication with the InfluxDB server'
required: false
influxdb_url:
description: 'The URL of the InfluxDB server'
required: false
influxdb_org:
description: 'The InfluxDB organization to use for pushing metrics'
required: false
influxdb_bucket:
description: 'The InfluxDB bucket to use for pushing metrics'
required: false
# Google Sheets specific inputs
googlesheets_spreadsheet_id:
description: 'The ID of the Google Sheets spreadsheet to use for pushing metrics'
required: false
repository:
description: 'The repository name'
required: true
actor:
description: 'The actor who triggered the action'
required: true
status:
description: 'The status of the action, valid values are: success, failure, cancelled or skipped'
required: true
tags:
description: 'A comma separated list of key=value pairs to be added to the metric'
required: false
runs:
using: 'node16'
main: 'index.js'