Build Dashboard #22777
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Dashboard | |
on: | |
schedule: | |
- cron: 5 * * * * | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: 'Generate Dashboard' | |
uses: ethomson/issue-dashboard@v1 | |
with: | |
config: | | |
title: 'Repozitáře textů na kodim.cz' | |
output: | |
format: html | |
filename: 'index.html' | |
sections: | |
- title: 'uvod-do-progr-1' | |
widgets: | |
- type: 'table' | |
title: 'Pull requests' | |
issue_query: 'repo:Czechitas-Python/uvod-do-progr-1 is:open is:pr' | |
- type: 'table' | |
title: 'Issues' | |
issue_query: 'repo:Czechitas-Python/uvod-do-progr-1 is:open is:issue' | |
- title: 'uvod-do-progr-2' | |
widgets: | |
- type: 'table' | |
title: 'Pull requests' | |
issue_query: 'repo:Czechitas-Python/uvod-do-progr-2 is:open is:pr' | |
- type: 'table' | |
title: 'Issues' | |
issue_query: 'repo:Czechitas-Python/uvod-do-progr-2 is:open is:issue' | |
- title: 'python-data-1' | |
widgets: | |
- type: 'table' | |
title: 'Pull requests' | |
issue_query: 'repo:Czechitas-Python/python-data-1 is:open is:pr' | |
- type: 'table' | |
title: 'Issues' | |
issue_query: 'repo:Czechitas-Python/python-data-1 is:open is:issue' | |
- title: 'python-pro-powerbi' | |
widgets: | |
- type: 'table' | |
title: 'Pull requests' | |
issue_query: 'repo:Czechitas-Python/python-pro-powerbi is:open is:pr' | |
- type: 'table' | |
title: 'Issues' | |
issue_query: 'repo:Czechitas-Python/python-pro-powerbi is:open is:issue' | |
- title: 'python-pro-databaze' | |
widgets: | |
- type: 'table' | |
title: 'Pull requests' | |
issue_query: 'repo:Czechitas-Python/python-pro-databaze is:open is:pr' | |
- type: 'table' | |
title: 'Issues' | |
issue_query: 'repo:Czechitas-Python/python-pro-databaze is:open is:issue' | |
- title: 'python-oop' | |
widgets: | |
- type: 'table' | |
title: 'Pull requests' | |
issue_query: 'repo:Czechitas-Python/python-oop is:open is:pr' | |
- type: 'table' | |
title: 'Issues' | |
issue_query: 'repo:Czechitas-Python/python-oop is:open is:issue' | |
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 |