-
Notifications
You must be signed in to change notification settings - Fork 42
40 lines (33 loc) · 984 Bytes
/
update_metrics_docs.yaml
File metadata and controls
40 lines (33 loc) · 984 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
29
30
31
32
33
34
35
36
37
38
39
40
name: Auto-Update Metrics Documentation
on:
schedule:
- cron: '0 5 * * *'
jobs:
update_metrics_docs:
name: Auto-Update Metrics Documentation
if: (github.repository == 'kubevirt/monitoring')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.17'
- name: Generate new metrics documentation
id: generate_metrics_docs
run: CONFIG_FILE=./tools/metricsdocs/config make metricsdocs
- uses: peter-evans/create-pull-request@v3
with:
title: Update metrics documentation
commit-message: Update metrics documentation
body: |
Update metrics documentation
Release Note:
```release-note
NONE
```
author: GitHub <noreply@github.com>
signoff: true
branch: gh_actions/update_metrics_docs
delete-branch: true
assignees: sradco
reviewers: sradco