2022-07-30 01:45:02 +00:00
|
|
|
# This action is centrally managed in https://github.com/<organization>/.github/
|
|
|
|
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
|
|
|
|
# the above-mentioned repo.
|
|
|
|
|
2021-12-16 15:39:14 +00:00
|
|
|
name: Stale Issues / PRs
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2022-02-06 22:42:20 +00:00
|
|
|
- cron: '00 00 * * *'
|
2021-12-16 15:39:14 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
stale:
|
2022-07-30 01:45:02 +00:00
|
|
|
name: Check Stale Issues / PRs
|
2021-12-16 15:39:14 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Stale
|
2022-03-02 21:55:46 +00:00
|
|
|
uses: actions/stale@v5
|
2021-12-16 15:39:14 +00:00
|
|
|
with:
|
|
|
|
close-issue-message: >
|
|
|
|
This issue was closed because it has been stalled for 5 days with no activity.
|
|
|
|
close-pr-message: >
|
2022-07-30 01:45:02 +00:00
|
|
|
This PR was closed because it has been stalled for 10 days with no activity.
|
|
|
|
days-before-stale: 90
|
2022-04-23 16:35:39 +00:00
|
|
|
days-before-close: 10
|
2022-07-30 01:45:02 +00:00
|
|
|
exempt-all-assignees: true
|
|
|
|
exempt-issue-labels: 'added,fixed'
|
|
|
|
exempt-pr-labels: 'dependencies,l10n'
|
|
|
|
stale-issue-label: 'stale'
|
|
|
|
stale-issue-message: >
|
|
|
|
This issue is stale because it has been open for 30 days with no activity.
|
|
|
|
Comment or remove the stale label, otherwise this will be closed in 5 days.
|
|
|
|
stale-pr-label: 'stale'
|
|
|
|
stale-pr-message: >
|
|
|
|
This PR is stale because it has been open for 90 days with no activity.
|
|
|
|
Comment or remove the stale label, otherwise this will be closed in 10 days.
|
2021-12-16 15:39:14 +00:00
|
|
|
|
|
|
|
- name: Invalid Template
|
2022-03-02 21:55:46 +00:00
|
|
|
uses: actions/stale@v5
|
2021-12-16 15:39:14 +00:00
|
|
|
with:
|
|
|
|
close-issue-message: >
|
|
|
|
This issue was closed because the the template was not completed after 5 days.
|
|
|
|
close-pr-message: >
|
|
|
|
This PR was closed because the the template was not completed after 5 days.
|
|
|
|
days-before-stale: 0
|
|
|
|
days-before-close: 5
|
2022-07-30 01:45:02 +00:00
|
|
|
exempt-pr-labels: 'dependencies,l10n'
|
|
|
|
only-labels: 'invalid:template-incomplete'
|
|
|
|
stale-issue-label: 'invalid:template-incomplete'
|
|
|
|
stale-issue-message: >
|
|
|
|
Invalid issues template.
|
|
|
|
stale-pr-label: 'invalid:template-incomplete'
|
|
|
|
stale-pr-message: >
|
|
|
|
Invalid PR template.
|