mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-18 06:21:35 +03:00
19 lines
542 B
YAML
19 lines
542 B
YAML
# 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 || secrets.GITHUB_TOKEN }}
|
|
TOP_NUMBER_OF_ISSUES: 10
|
|
TOP_LABEL_NAME: "👍 Top 10 Issue!"
|
|
TOP_LABEL_COLOR: FBCA04
|