-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
27 lines (25 loc) · 963 Bytes
/
stale-pr.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
name: "Stale PRs"
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
stale:
permissions:
pull-requests: write
if: github.repository_owner == 'pandas-dev'
runs-on: ubuntu-22.04
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: "This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this."
stale-pr-label: "Stale"
exempt-pr-labels: "Needs Review,Blocked,Needs Discussion"
days-before-issue-stale: -1
days-before-pr-stale: 30
days-before-close: -1
remove-stale-when-updated: false
debug-only: false