-
Notifications
You must be signed in to change notification settings - Fork 2
100 lines (95 loc) · 4.46 KB
/
issue-dashboard.yml
File metadata and controls
100 lines (95 loc) · 4.46 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
name: Build Dashboard
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Check out GitHub Pages branch
uses: actions/checkout@v2
with:
ref: 'gh-pages'
path: 'out'
- name: 'Generate Dashboard'
uses: ethomson/issue-dashboard@v1.0.2
with:
config: |
title: 'Mission Control - ${{ github.repository }}'
output:
format: html
filename: 'out/dashboard.html'
sections:
- title: "Repository Health"
widgets:
- type: graph
elements:
- title: 'Open issues unassigned to a project'
issue_query: 'repo:${{ github.repository }} is:open is:issue no:project'
- title: 'Open Issues'
issue_query: 'repo:${{ github.repository }} is:issue is:open'
- title: 'Closed Issues'
issue_query: 'repo:${{ github.repository }} is:issue is:closed'
- title: "To Do"
description: "Issues in this section still need to be done. Help the project out by joining in with your area of expertise!"
widgets:
- type: 'table'
title: 'Wireframe'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: Wireframe" sort:created-asc'
- type: 'table'
title: 'Design'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: Design" sort:created-asc'
- type: 'table'
title: 'HTML/CSS'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: HTML/CSS" sort:created-asc'
- type: 'table'
title: 'JavaScript'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: JavaScript" sort:created-asc'
- type: 'table'
title: 'PHP'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: PHP" sort:created-asc'
- type: 'table'
title: 'Testing'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: Testing" sort:created-asc'
- type: 'table'
title: 'Release'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: Release" sort:created-asc'
- type: 'table'
title: 'Documentation'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: Documentation" sort:created-asc'
- title: "Needs Input"
description: "Issues in this section need someone's input. Get their feedback to help move them along!"
widgets:
- type: 'table'
title: 'Client'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Client" sort:created-asc'
- type: 'table'
title: 'Creative Director'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Creative Director" sort:created-asc'
- type: 'table'
title: 'Designer'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Designer" sort:created-asc'
- type: 'table'
title: 'Developer'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Developer" sort:created-asc'
- type: 'table'
title: 'Producer'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Producer" sort:created-asc'
- type: 'table'
title: 'Strategist'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Strategist" sort:created-asc'
- title: 'Pull Requests'
widgets:
- type: 'table'
title: 'New Pull Requests (This Week)'
issue_query: 'repo:${{ github.repository }} is:open is:issue created:>{{ date("-7 days") }} sort:created-asc'
token: ${{ github.token }}
- name: Publish Documentation
run: |
git add .
git config user.name 'Dashboard User'
git config user.email 'nobody@nowhere'
git commit -m 'Documentation update' --allow-empty
git push origin gh-pages
working-directory: out