diff --git a/.github/workflows/close-stale-prs.yml b/.github/workflows/close-stale-prs.yml new file mode 100644 index 0000000000000..d4a88c209aa21 --- /dev/null +++ b/.github/workflows/close-stale-prs.yml @@ -0,0 +1,20 @@ +name: Close stale PRs + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v4 + with: + days-before-close: 7 + days-before-stale: 60 + # Temporary, avoid closing PRs until this action merged + debug-only: true + # Hack to skip issues, unfortunately there's no option to disable issues + only-issue-labels: inexistent-label + only-pr-labels: Waiting on Author + stale-pr-message: There has not been any recent activity in this PR. It will automatically be closed in 7 days if no further action is taken.