Skip to content

Commit a41f18a

Browse files
authored
GH actions: stale workflow (#4613) [ci skip]
1 parent eb338fd commit a41f18a

File tree

2 files changed

+24
-36
lines changed

2 files changed

+24
-36
lines changed

.github/stale.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/stale.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 'Stale/close issues and PRs'
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: '30 0 * * 1,3,5'
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@v3
12+
with:
13+
days-before-stale: 120
14+
days-before-close: 14
15+
stale-issue-message: >
16+
This issue hasn't had any recent activity, and I'm labeling it `stale`.
17+
Remove the label or comment or this issue will be closed in 14 days.
18+
Thanks for contributing to Mocha!
19+
stale-pr-message: >
20+
This PR hasn't had any recent activity, and I'm labeling it `stale`.
21+
Remove the label or comment or this PR will be closed in 14 days.
22+
Thanks for contributing to Mocha!'
23+
exempt-issue-labels: browser,chore,confirmed-bug,developer-experience,documentation,faq,feature,future,good-first-issue,help wanted,nice-to-have,qa,reporter,unconfirmed-bug,usability
24+
exempt-pr-labels: browser,chore,confirmed-bug,developer-experience,documentation,faq,feature,future,needs-review,nice-to-have,qa,reporter,semver-major,semver-minor,semver-patch,usability

0 commit comments

Comments
 (0)