Stale Issues Policy #132
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Stale Issues Policy | |
on: | |
schedule: | |
- cron: "0 0 * * *" # Run at 00:00 UTC every day | |
workflow_dispatch: | |
permissions: | |
contents: read | |
issues: write # for actions/stale to close stale issues | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "🧹 Mark & close stale issues" | |
uses: actions/stale@v9.0.0 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
days-before-issue-stale: 7 | |
stale-issue-label: "automatic-stale" | |
close-issue-label: "automatic-closing" | |
# exempt-issue-labels: "enhancement, feature-request, upstream, hold" | |
exempt-issue-labels: "feature-request, upstream, hold" | |
stale-issue-message: | | |
Hi There! 👋 | |
This issue has been marked as stale due to inactivity for 7 days. | |
We would like to inquire if you still have the same problem or if it has been resolved. | |
If you need further assistance, please feel free to respond to this comment within the next 7 days. Otherwise, the issue will be automatically closed. | |
We appreciate your understanding and would like to express our gratitude for your contribution to Latte. Thank you for your support. 🙏 | |
- name: "🧹 Close stale awaiting response issues" | |
uses: actions/stale@v9.0.0 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
days-before-issue-stale: 3 | |
stale-issue-label: "automatic-stale" | |
close-issue-label: "automatic-closing" | |
only-labels: "awaiting response" | |
stale-issue-message: | | |
Hi There! 👋 | |
This issue has been marked as stale due to inactivity for 3 days. | |
We would like to inquire if you still have the same problem or if it has been resolved. | |
If you need further assistance, please feel free to respond to this comment within the next 7 days. Otherwise, the issue will be automatically closed. | |
We appreciate your understanding and would like to express our gratitude for your contribution to Latte. Thank you for your support. 🙏 |