forked from AI-Hypercomputer/maxtext
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 1.27 KB
/
stale.yml
File metadata and controls
36 lines (34 loc) · 1.27 KB
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
34
35
name: 'Close stale PRs'
on:
schedule:
- cron: '0 16 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
actions: write
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
# Disable the action for issues to run on PRs only
days-before-issue-stale: -1
days-before-issue-close: -1
# Number of days of inactivity before a PR is marked as stale
days-before-pr-stale: 30
# Number of days of inactivity before a stale PR is closed
days-before-pr-close: 7
# The label to apply to stale PRs
stale-pr-label: 'stale'
# This is true by default, adding just to be explicit
remove-stale-when-updated: true
# The comment to post when marking a PR as stale.
stale-pr-message: >
This PR has been automatically marked as stale because it has not had
recent activity. It will be closed soon if no further activity occurs.
Thank you for your contributions.
# The comment to post when closing a stale PR.
close-pr-message: >
This PR was closed because it has been inactive for a while.
Please reopen it if you are still working on it.