forked from bootstrap-vue-next/bootstrap-vue-next
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 1.53 KB
/
stale-issues.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This workflow is responsible for auto marking issues and PRs as stale
# It will mark issues as stale after 30 days, and close them 14 days after that
# It will mark PRs as stale after 45 days, and will never close them
# It will never mark an issue or PR that has a milestone or has an assignee
# Exempt labels that will never be checked include: stale-exempt,future addition,enhancement,autorelease: tagged,autorelease: pending
# It will only check issues or PRs made after 2022-06-01T00:00:00
name: stale-issues
on:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Use stale
uses: actions/stale@v5
with:
stale-issue-message: 'This issue is stale because it has been open for 30 days with no activity. It will not be auto-closed'
stale-pr-message: 'This PR is stale because it has been open for 45 days with no activity. It will not be auto-closed'
days-before-issue-stale: 30
days-before-pr-stale: 45
days-before-issue-close: -1
days-before-pr-close: -1
stale-issue-label: stale
stale-pr-label: stale
exempt-issue-labels: 'stale-exempt,future addition,enhancement,autorelease: tagged,autorelease: pending'
exempt-pr-labels: 'stale-exempt,future addition,enhancement,autorelease: tagged,autorelease: pending'
start-date: '2022-06-01T00:00:00'
exempt-all-milestones: true
exempt-assignees: true