Skip to content

Mark and close stale PRs #6

Mark and close stale PRs

Mark and close stale PRs #6

Workflow file for this run

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