Close stale pull requests #760
This file contains 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
# ====================================== | |
# WARNING! | |
# THIS FILE IS GENERATED FROM A TEMPLATE | |
# DO NOT EDIT THIS FILE MANUALLY! | |
# ====================================== | |
# The template is located in: stale-pull-requests.yml.j2 | |
name: Close stale pull requests | |
on: | |
schedule: | |
- cron: 30 1 * * * | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Handle stale pull requests | |
uses: actions/stale@v6 | |
with: | |
days-before-stale: 60 | |
days-before-close: 30 | |
stale-pr-label: stale | |
stale-pr-message: | | |
This PR is stale because it has been open 60 days with no activity. | |
Remove stale label or comment or this will be closed in 30 days. | |
close-pr-message: | | |
This PR was closed because it has been stalled for 30 days with no activity. |