emqx/.github/workflows/stale.yaml
Thales Macedo Garitezi 39999fb467
ci: enable stale GH action in place of stalebot
Since stalebot appears to have been unreliable
recently (https://github.com/probot/stale/issues/349), we can try to
use GH Actions to manage the stale issues.
2021-12-31 15:14:44 -03:00

32 lines
762 B
YAML

---
name: Manage stale issues
on:
schedule:
# run hourly
- cron: "0 * * * *"
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: none
steps:
- name: Close Stale Issues
uses: actions/stale@v4.1.0
with:
days-before-stale: 7
days-before-close: 7
exempt-issue-labels: 'internal,BUG,help wanted,#triage/accepted,#needs-triage,Feature'
stale-issue-label: "#triage/stale"
stale-issue-message: >-
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
...