xref: /reactos/.github/workflows/stale.yml (revision d2aeaba5)
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      issues: write
18      pull-requests: write
19
20    steps:
21    - uses: actions/stale@v5
22      with:
23        repo-token: ${{ secrets.GITHUB_TOKEN }}
24        days-before-stale: 120
25        days-before-issue-stale: -1
26        days-before-close: 14
27        days-before-issue-close: -1
28        exempt-all-assignees: 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
33