2022-08-18 17:32:57 +08:00
|
|
|
name: Update top issues dashboard
|
2022-08-18 17:31:45 +08:00
|
|
|
on:
|
|
|
|
schedule:
|
2023-07-25 02:53:36 +08:00
|
|
|
# ┌───────────── 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)
|
|
|
|
# │ │ │ │ │
|
|
|
|
# │ │ │ │ │
|
|
|
|
# │ │ │ │ │
|
|
|
|
# * * * * *
|
2022-10-02 20:15:25 +08:00
|
|
|
- cron: "0 0 */3 * *"
|
2023-06-11 08:20:08 +08:00
|
|
|
workflow_dispatch:
|
2022-08-18 17:31:45 +08:00
|
|
|
|
2023-07-02 15:06:04 +08:00
|
|
|
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
|
|
|
|
|
2022-08-18 17:31:45 +08:00
|
|
|
jobs:
|
|
|
|
showAndLabelTopIssues:
|
2023-01-25 16:20:36 +08:00
|
|
|
if: github.repository == 'anuraghazra/github-readme-stats'
|
2022-08-18 17:31:45 +08:00
|
|
|
name: Update top issues Dashboard.
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Run top issues action
|
2023-08-01 03:52:33 +08:00
|
|
|
uses: rickstaa/top-issues-action@c66e5d53ffc26f7ae020ff8454582884d4af4cdb # v1.3.32
|
2022-08-18 17:31:45 +08:00
|
|
|
env:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
2022-08-26 01:45:11 +08:00
|
|
|
with:
|
2023-06-16 04:28:19 +08:00
|
|
|
top_list_size: 10
|
2022-09-25 17:16:37 +08:00
|
|
|
filter: "1772"
|
2023-06-06 16:54:17 +08:00
|
|
|
label: true
|
2022-08-18 17:31:45 +08:00
|
|
|
dashboard: true
|
2022-08-26 02:06:45 +08:00
|
|
|
dashboard_show_total_reactions: true
|
2022-08-18 17:31:45 +08:00
|
|
|
top_issues: true
|
|
|
|
top_bugs: true
|
|
|
|
top_features: true
|
|
|
|
top_pull_requests: true
|
2023-06-06 16:54:17 +08:00
|
|
|
custom_pull_requests_label: themes
|
|
|
|
top_custom_pull_requests_label: ":star: top themes"
|
2023-06-11 08:20:08 +08:00
|
|
|
top_custom_pull_requests_label_description: Top themes
|
|
|
|
top_custom_pull_requests_label_colour: "#A23599"
|