Close stale pull requests #80
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
| # Copyright © Michal Čihař <michal@weblate.org> | |
| # | |
| # SPDX-License-Identifier: CC0-1.0 | |
| name: Close stale pull requests | |
| on: | |
| schedule: | |
| - cron: 30 1 * * * | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - .github/workflows/pr-stale.yml | |
| permissions: | |
| contents: read | |
| jobs: | |
| stale-prs: | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0 | |
| with: | |
| days-before-pr-stale: 30 | |
| days-before-pr-close: 14 | |
| days-before-issue-stale: -1 | |
| days-before-issue-close: -1 | |
| exempt-pr-labels: backlog | |
| stale-pr-label: wontfix | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| stale-pr-message: | | |
| This pull request has been automatically marked as stale because there wasn’t any recent activity. | |
| It will be closed soon if no further action occurs. | |
| Thank you for your contributions! |