-
Notifications
You must be signed in to change notification settings - Fork 352
27 lines (24 loc) · 1.01 KB
/
stale-check.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: 60 Days Stale Check
# **What it does**: Pull requests older than 60 days will be flagged as stale.
# **Why we have it**: We want to manage our queue of issues and pull requests.
# **Who does it impact**: Everyone who responds to issues and PRs.
on:
schedule:
- cron: '40 16 * * *' # Run each day at 16:40 UTC / 8:40 PST
jobs:
stale:
if: github.repository == 'segmentio/segment-docs'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@9d6f46564a515a9ea11e7762ab3957ee58ca50da
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity.'
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity.'
days-before-stale: 60
days-before-close: -1
only-labels: 'triage'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
exempt-pr-labels: 'never-stale'
exempt-issue-labels: 'never-stale'