Mark and close stale PRs #6
This file contains hidden or 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: Mark and close stale PRs | |
| on: | |
| schedule: | |
| - cron: "0 0 * * 1" # Weekly on Monday at midnight UTC | |
| workflow_dispatch: | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: read | |
| pull-requests: write | |
| if: ${{ github.repository_owner == 'openvinotoolkit' }} | |
| steps: | |
| - uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1 | |
| with: | |
| # PR configuration | |
| days-before-pr-stale: 14 | |
| days-before-pr-close: 7 | |
| exempt-pr-labels: "keep-open" | |
| stale-pr-message: "This PR will be closed in a week because of 2 weeks of no activity." | |
| close-pr-message: "Closing due to inactivity. Feel free to reopen if you plan to continue working on this." | |
| # Disable issue handling | |
| days-before-issue-stale: -1 | |
| days-before-issue-close: -1 | |
| ascending: true |