Reactos
1# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2#
3# You can adjust the behavior by modifying this file.
4# For more information, see:
5# https://github.com/actions/stale
6name: Mark stale issues and pull requests
7
8on:
9 schedule:
10 - cron: '43 0 * * *'
11
12jobs:
13 stale:
14
15 runs-on: ubuntu-latest
16 permissions:
17 pull-requests: write
18
19 steps:
20 - uses: actions/stale@v10
21 with:
22 repo-token: ${{ secrets.GITHUB_TOKEN }}
23 days-before-stale: 120
24 days-before-issue-stale: -1
25 days-before-close: 14
26 days-before-issue-close: -1
27 exempt-all-assignees: true
28 exempt-draft-pr: true
29 stale-pr-message: 'This PR is stale because it received no updates in the last 4 months. Without removing the stale label, or commenting on this ticket it will be closed in 2 weeks.'
30 stale-issue-label: 'no-issue-activity'
31 stale-pr-label: 'no-pr-activity'
32 operations-per-run: 100