mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-18 11:10:04 +00:00
7a1e5f43d9
- Do not re-run PR tests on edited PRs - Close added/fixed issues on published release - Issues stale after 60 days instead of 30, close after 10 days instead of 5 - Use Vankka/pr-target-branch-action for checking that PR is made to proper branch - Add version number to sphinx config, must use cmake to configure the file - Add jobs to readthedocs.yaml configuration
49 lines
1.8 KiB
YAML
49 lines
1.8 KiB
YAML
name: Stale Issues / PRs
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '00 00 * * *'
|
|
|
|
jobs:
|
|
stale:
|
|
name: Check Issues / PRs
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Stale
|
|
uses: actions/stale@v5
|
|
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: 'added,fixed,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: 60
|
|
days-before-close: 10
|
|
|
|
- name: Invalid Template
|
|
uses: actions/stale@v5
|
|
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'
|
|
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'
|
|
only-labels: 'invalid:template-incomplete'
|
|
days-before-stale: 0
|
|
days-before-close: 5
|