mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Add stale issues workflow
[skip ci]
This commit is contained in:
parent
18b4084ae1
commit
bc921e6f34
3 changed files with 60 additions and 5 deletions
9
.github/label-actions.yml
vendored
9
.github/label-actions.yml
vendored
|
@ -30,6 +30,13 @@ invalid:support:
|
|||
unlock: true
|
||||
|
||||
invalid:template-incomplete:
|
||||
issues:
|
||||
comment: >
|
||||
:wave: @{issue-author}, please edit your issue to complete the template with
|
||||
all the required info. Thanks.
|
||||
all the required info. Your issue will be automatically closed in 5 days if
|
||||
the template is not completed. Thanks.
|
||||
prs:
|
||||
comment: >
|
||||
:wave: @{issue-author}, please edit your PR to complete the template with
|
||||
all the required info. Your PR will be automatically closed in 5 days if
|
||||
the template is not completed. Thanks.
|
||||
|
|
48
.github/workflows/issues-stale.yml
vendored
Normal file
48
.github/workflows/issues-stale.yml
vendored
Normal file
|
@ -0,0 +1,48 @@
|
|||
name: Stale Issues / PRs
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '00 19 * * *'
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
name: Check Issues / PRs
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Stale
|
||||
uses: actions/stale@v3
|
||||
with:
|
||||
stale-issue-message: >
|
||||
This issue is stale because it has been open for 30 days with no activity.
|
||||
Remove the stale label or comment, otherwise this will be closed in 5 days.
|
||||
close-issue-message: >
|
||||
This issue was closed because it has been stalled for 5 days with no activity.
|
||||
stale-issue-label: stale
|
||||
exempt-issue-labels: fixed:next-release,type:enhancement,status:awaiting-triage,status:in-progress
|
||||
stale-pr-message: >
|
||||
This PR is stale because it has been open for 30 days with no activity.
|
||||
Remove the stale label or comment, otherwise this will be closed in 5 days.
|
||||
close-pr-message: >
|
||||
This PR was closed because it has been stalled for 5 days with no activity.
|
||||
stale-pr-label: stale
|
||||
exempt-pr-labels: status:in-progress
|
||||
days-before-stale: 30
|
||||
days-before-close: 5
|
||||
|
||||
- name: Invalid Template
|
||||
uses: actions/stale@v3
|
||||
with:
|
||||
stale-issue-message: Invalid issues template.
|
||||
close-issue-message: >
|
||||
This issue was closed because the the template was not completed after 5 days.
|
||||
stale-issue-label: invalid:template-incomplete
|
||||
skip-stale-issue-message: true
|
||||
stale-pr-message: Invalid PR template.
|
||||
close-pr-message: >
|
||||
This PR was closed because the the template was not completed after 5 days.
|
||||
stale-pr-label: invalid:template-incomplete
|
||||
exempt-pr-labels: status:in-progress
|
||||
skip-stale-pr-message: true
|
||||
only-labels: invalid:template-incomplete
|
||||
days-before-stale: 0
|
||||
days-before-close: 5
|
4
.github/workflows/issues.yml
vendored
4
.github/workflows/issues.yml
vendored
|
@ -9,7 +9,7 @@ jobs:
|
|||
name: Label Issues
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dessant/label-actions@v2
|
||||
- name: Label Issues
|
||||
uses: dessant/label-actions@v2
|
||||
with:
|
||||
github-token: ${{ github.token }}
|
||||
process-only: issues
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue