Skip to content

Close stale pull requests #587

Close stale pull requests

Close stale pull requests #587

# ======================================
# 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
# Don't run scheduled workflows on forks.
if: github.event_name != 'schedule' || github.repository == 'rhinstaller/anaconda'
steps:
- name: Handle stale pull requests
uses: actions/stale@v8
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.