From e3a99c9a55b483b3813321e39cb0e80a92a7d6e7 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Sat, 11 Apr 2026 14:52:35 -0400 Subject: [PATCH] feat(workflows): add top issues callable workflow --- .github/workflows/__call-top-issues.yml | 30 +++++++++++++++++++++++ .github/workflows/__global-replicator.yml | 2 ++ .github/workflows/_top-issues.yml | 27 ++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 .github/workflows/__call-top-issues.yml create mode 100644 .github/workflows/_top-issues.yml diff --git a/.github/workflows/__call-top-issues.yml b/.github/workflows/__call-top-issues.yml new file mode 100644 index 00000000..9d25c328 --- /dev/null +++ b/.github/workflows/__call-top-issues.yml @@ -0,0 +1,30 @@ +--- +# Create a top issues dashboard + +name: Top issues (called) +permissions: {} + +on: + workflow_call: + +jobs: + top-issues: + name: Top issues + permissions: + contents: read + issues: write + runs-on: ubuntu-latest + steps: + - name: Top issues action + uses: rickstaa/top-issues-action@7e8dda5d5ae3087670f9094b9724a9a091fc3ba1 # v1.3.101 + env: + github_token: ${{ secrets.GITHUB_TOKEN }} + with: + dashboard: true + dashboard_show_total_reactions: true + label: false + top_bugs: false + top_features: false + top_issues: true + top_list_size: 10 + top_pull_requests: true diff --git a/.github/workflows/__global-replicator.yml b/.github/workflows/__global-replicator.yml index 0382cea9..b7a67036 100644 --- a/.github/workflows/__global-replicator.yml +++ b/.github/workflows/__global-replicator.yml @@ -70,6 +70,7 @@ jobs: .github/workflows/pull-requests.yml, .github/workflows/python-flake8.yml, .github/workflows/release-notifier.yml, + .github/workflows/top_issues.yml, .github/workflows/update-changelog.yml, .github/workflows/update-docs.yml, .github/workflows/update-flathub-repo.yml, @@ -106,6 +107,7 @@ jobs: .github/semantic.yml, .github/workflows/_codeql.yml, .github/workflows/_common-lint.yml + .github/workflows/_top-issues.yml topics_to_include: '' exclude_forked: false destination: '' diff --git a/.github/workflows/_top-issues.yml b/.github/workflows/_top-issues.yml new file mode 100644 index 00000000..3072822c --- /dev/null +++ b/.github/workflows/_top-issues.yml @@ -0,0 +1,27 @@ +--- +# This workflow is centrally managed in https://github.com/LizardByte/.github/ +# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in +# the above-mentioned repo. + +# Create a top issues dashboard + +name: Top issues +permissions: {} + +on: + schedule: + - cron: '0 6/12 * * *' + workflow_dispatch: + +concurrency: + group: 'top-issues' + cancel-in-progress: true + +jobs: + top-issues: + name: Top issues + uses: LizardByte/.github/.github/workflows/__call-top-issues.yml@master + if: github.repository_owner == 'LizardByte' + permissions: + contents: read + issues: write