Update top issues dashboard #300
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 */3 * *" | |
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 == 'anuraghazra/github-readme-stats' | |
name: Update top issues Dashboard. | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run top issues action | |
uses: rickstaa/top-issues-action@7e8dda5d5ae3087670f9094b9724a9a091fc3ba1 # v1.3.101 | |
env: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
top_list_size: 10 | |
filter: "1772" | |
label: true | |
dashboard: true | |
dashboard_show_total_reactions: true | |
top_issues: true | |
top_bugs: true | |
top_features: true | |
top_pull_requests: true |