Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

🎯 Adds an action to label top issues

Alicia Sykes009a8354a5b1
diff --git a/.github/workflows/label-top-issues.yml b/.github/workflows/label-top-issues.yml
new file mode 100644
index 00000000..965f2717
--- /dev/null
+++ b/.github/workflows/label-top-issues.yml
@@ -0,0 +1,18 @@
+# Applies the 'Top Issue' label to tickets with most user reactions
+name: 🎯 Label Top Issues
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: '0 1 * * *' # Run at 01:00 each day
+jobs:
+ labelTopIssues:
+ name: Label Top Issues
+ runs-on: ubuntu-latest
+ steps:
+ - name: Label Issues
+ uses: adamzolyak/top-issues-action@master
+ env:
+ GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
+ TOP_NUMBER_OF_ISSUES: 10
+ TOP_LABEL_NAME: "πŸ‘ Top 10 Issue!"
+ TOP_LABEL_COLOR: FBCA04