mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
Update to use actions/stale
instead of Stale Bot (#4143)
This commit is contained in:
parent
efd81478f1
commit
ee665051b3
2 changed files with 40 additions and 29 deletions
29
.github/stale.yml
vendored
29
.github/stale.yml
vendored
|
@ -1,29 +0,0 @@
|
||||||
# Configuration for probot-stale - https://github.com/probot/stale
|
|
||||||
|
|
||||||
# Number of days of inactivity before an issue or PR is considered stale
|
|
||||||
daysUntilStale: 15
|
|
||||||
|
|
||||||
# Number of days of inactivity before a stale issue or PR is closed
|
|
||||||
daysUntilClose: 30
|
|
||||||
|
|
||||||
# Issues or PRs with these labels will never be considered stale
|
|
||||||
exemptLabels:
|
|
||||||
- up for grabs
|
|
||||||
|
|
||||||
# Label to use when marking an issue or PR as stale
|
|
||||||
staleLabel: waiting
|
|
||||||
|
|
||||||
# Comment to post when marking an issue or PR as stale
|
|
||||||
markComment: >
|
|
||||||
Hi all! This thread has not had any recent activity.
|
|
||||||
Are there any updates? Thanks!
|
|
||||||
|
|
||||||
# Comment to post when closing a stale issue or PR
|
|
||||||
closeComment: >
|
|
||||||
Hi everyone.
|
|
||||||
This thread is being closed as there was no response to the previous prompt.
|
|
||||||
However, please leave a comment whenever you're ready to resume,
|
|
||||||
so the thread can be reopened. Thanks again!
|
|
||||||
|
|
||||||
# Limit to only `issues` or `pulls`
|
|
||||||
only: pulls
|
|
40
.github/workflows/stale.yml
vendored
Normal file
40
.github/workflows/stale.yml
vendored
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
name: 'Manage stale issues'
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Stale Bot
|
||||||
|
uses: actions/stale@v3
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
# Number of days of inactivity before an issue or PR is considered stale
|
||||||
|
days-before-stale: 15
|
||||||
|
|
||||||
|
# Number of days of inactivity before a stale issue or PR is closed
|
||||||
|
days-before-close: 30
|
||||||
|
|
||||||
|
# Issues or PRs with these labels will never be considered stale
|
||||||
|
exempt-pr-labels: up for grabs
|
||||||
|
|
||||||
|
# Label to use when marking an issue or PR as stale
|
||||||
|
stale-pr-label: waiting
|
||||||
|
|
||||||
|
# Comment to post when marking an issue or PR as stale
|
||||||
|
stale-pr-message: |
|
||||||
|
Hi all! This thread has not had any recent activity.
|
||||||
|
Are there any updates? Thanks!
|
||||||
|
|
||||||
|
# Comment to post when closing a stale issue or PR
|
||||||
|
close-pr-message: |
|
||||||
|
Hi everyone.
|
||||||
|
This thread is being closed as there was no response to the previous prompt.
|
||||||
|
However, please leave a comment whenever you're ready to resume,
|
||||||
|
so the thread can be reopened. Thanks again!
|
Loading…
Add table
Reference in a new issue