Merge pull request #25820 from hribz/master
[xbmc.git] / .github / workflows / stale.yml
blob5c157d7cb8840e280506649e887f0251cdb32f90
1 name: 'Close stale issues and PRs'
2 on:
3   workflow_dispatch:
4   schedule:
5     - cron: '0 */2 * * *'
7 permissions:
8   issues: write
9   pull-requests: write
10   actions: write
12 jobs:
13   stale:
14     runs-on: ubuntu-latest
15     steps:
16       - uses: actions/stale@v9
17         with:
18           days-before-stale: 365
19           days-before-close: -1
20           
21           stale-issue-message: 'This issue is now marked stale because it has been open over a year without activity. Remove the stale label or add a comment to reset the stale state.'
22           stale-issue-label: Stale
23           stale-pr-message: 'This pull request is now marked stale because it has been open over a year without activity. Remove the stale label or add a comment to reset the stale state.'
24           stale-pr-label: Stale
26           exempt-issue-labels: Roadmap
27           exempt-pr-labels: Roadmap
28           
29           operations-per-run: 1000
30           debug-only: false