-
Notifications
You must be signed in to change notification settings - Fork 18
40 lines (34 loc) · 1 KB
/
gqm_update.yml
File metadata and controls
40 lines (34 loc) · 1 KB
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: Update GQM
on:
push:
branches: [main]
paths:
- "measuring/goals/**"
- "measuring/questions/**"
- "measuring/metrics/**"
workflow_dispatch:
jobs:
generateDiagram:
name: Generate Diagram
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.DEPLOY_KEY_SSH_PRIVATE_KEY }}
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: "21.x"
- name: Configure Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Update GQM diagram
run: |
cd scripts/gqm_gen
./update_gqm.sh
- name: Report coverage
if: success()
uses: sidx1024/report-nyc-coverage-github-action@v1.2.7
with:
coverage_file: ".nyc_output/nyc-coverage-report/coverage-summary.json"