Sunshine/.github/workflows/issues-stale.yml

62 lines
2.4 KiB
YAML
Raw Normal View History

2022-08-07 23:33:19 +00:00
---
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.
2023-01-01 03:38:46 +00:00
# Manage stale issues and PRs.
2021-12-16 15:39:14 +00:00
name: Stale Issues / PRs
on:
schedule:
2023-01-19 17:35:16 +00:00
- cron: '00 10 * * *'
2021-12-16 15:39:14 +00:00
jobs:
stale:
2022-07-30 01:45:02 +00:00
name: Check Stale Issues / PRs
2022-12-10 15:27:26 +00:00
if: startsWith(github.repository, 'LizardByte/')
2021-12-16 15:39:14 +00:00
runs-on: ubuntu-latest
steps:
- name: Stale
2023-12-09 19:38:22 +00:00
uses: actions/stale@v9
2021-12-16 15:39:14 +00:00
with:
close-issue-message: >
2022-10-10 16:07:07 +00:00
This issue was closed because it has been stalled for 10 days with no activity.
2021-12-16 15:39:14 +00:00
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
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: >
2023-10-12 16:22:23 +00:00
It seems this issue hasn't had any activity in the past 90 days.
2023-10-05 16:24:58 +00:00
If it's still something you'd like addressed, please let us know by leaving a comment.
Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!
2022-07-30 01:45:02 +00:00
stale-pr-label: 'stale'
stale-pr-message: >
2023-10-12 16:22:23 +00:00
It looks like this PR has been idle for 90 days.
2023-10-05 16:24:58 +00:00
If it's still something you're working on or would like to pursue,
please leave a comment or update your branch.
Otherwise, we'll be closing this PR in 10 days to reduce our backlog. Thanks!
2022-10-10 16:07:07 +00:00
repo-token: ${{ secrets.GH_BOT_TOKEN }}
2021-12-16 15:39:14 +00:00
- name: Invalid Template
2023-12-09 19:38:22 +00:00
uses: actions/stale@v9
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
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.
2022-10-10 16:07:07 +00:00
repo-token: ${{ secrets.GH_BOT_TOKEN }}