0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00
Anki-Android/.github/workflows/stale.yml
David Allison ffec26cba6 build(ci): 'Anki Ecosystem Compatibility' should not go stale
These issues should all be fixed

----

> Comma separated list of labels that can be assigned to pull requests to exclude them from being marked as stale (e.g: need-help,WIP)

docs: https://github.com/actions/stale?tab=readme-ov-file#exempt-pr-labels

Fixes 16221
2024-04-22 11:30:15 +00:00

31 lines
1.3 KiB
YAML

name: Mark stale issues and pull requests
on:
schedule:
- cron: "35 * * * *"
permissions:
contents: read
jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like _still searching for solutions_ and if you found one, please open a pull request! You have 7 days until this gets closed automatically'
stale-pr-message: 'Hello 👋, this PR has had no activity for more than 2 weeks and needs a reply from the author. If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing! You have 7 days until this gets closed automatically'
exempt-issue-labels: 'Keep Open,Anki Ecosystem Compatibility,Accepted'
exempt-pr-labels: 'Keep Open'
close-issue-reason: 'not_planned'
days-before-issue-stale: 90
days-before-pr-stale: 14
only-pr-labels: 'Needs Author Reply'