forked from rhinstaller/anaconda
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 1 KB
/
stale-pull-requests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ======================================
# 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.