Files
vcmi/.github/workflows/stale-prs.yml
T
Ivan Savenko d3b42c7af0 Fix auto-close stale PR's
Caused by misunderstanding of parameter from my side.

This parameter affect how many issues/PR's will be *checked*, not how many will be marked as stale. Its intention is API rate limiting, not output limiting.

Removed parameter, effectively resetting it to default
2026-06-08 22:55:45 +03:00

33 lines
1.0 KiB
YAML

name: Close stale PRs
on:
schedule:
- cron: '0 12 * * *'
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Only PRs, not issues
days-before-issue-stale: -1
days-before-issue-close: -1
days-before-pr-stale: 60
days-before-pr-close: 60
stale-pr-label: stale
stale-pr-message: >
This PR has had no activity for 60 days and has been marked as stale.
If this PR is complete but needs review or merge, please contact VCMI Team either via comment here or via Discord.
If this PR is still relevant but on hold, please add label 'postponed'
This pull request will be closed in 60 days more if there is no further activity.
close-pr-message: >
This PR has been closed due to inactivity.
Feel free to reopen it if you'd like to continue working on it.
exempt-pr-labels: postponed