Update top issues dashboard #24
This file contains 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: Update top issues dashboard | |
on: | |
schedule: | |
# ββββββββββββββ minute (0 - 59) | |
# β ββββββββββββββ hour (0 - 23) | |
# β β ββββββββββββββ day of the month (1 - 31) | |
# β β β ββββββββββββββ month (1 - 12 or JAN-DEC) | |
# β β β β ββββββββββββββ day of the week (0 - 6 or SUN-SAT) | |
# β β β β β | |
# β β β β β | |
# β β β β β | |
# * * * * * | |
- cron: "0 0 */10 * *" | |
workflow_dispatch: | |
permissions: | |
actions: read | |
checks: read | |
contents: read | |
deployments: read | |
issues: write | |
discussions: read | |
packages: read | |
pages: read | |
pull-requests: write | |
repository-projects: read | |
security-events: read | |
statuses: read | |
jobs: | |
showAndLabelTopIssues: | |
if: github.repository == 'FajarKim/github-readme-profile' | |
name: Update top issues Dashboard. | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run top issues action | |
uses: rickstaa/top-issues-action@9aa7d404270d329a5d3d1712196a1087f55a3a25 # v1.3.91 | |
env: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
top_list_size: 10 | |
label: true | |
dashboard: true | |
dashboard_show_total_reactions: true | |
top_issues: true | |
top_bugs: true | |
top_features: true | |
top_pull_requests: true | |
custom_pull_requests_label: themes | |
top_custom_pull_requests_label: ":star: top themes" | |
top_custom_pull_requests_label_description: Top themes | |
top_custom_pull_requests_label_colour: "#A23599" |