Skip to content

Commit cfbf62f

Browse files
committed
adding stale.yaml to flag old and stale issues and PRs
1 parent 30dc022 commit cfbf62f

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/workflows/stale.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Mark stale issues and pull requests
2+
# cf https://github.com/actions/stale
3+
4+
name: stale
5+
6+
on:
7+
schedule:
8+
- cron: "11 1 * * *"
9+
10+
jobs:
11+
stale:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/stale@v3
15+
with:
16+
repo-token: ${{ secrets.GITHUB_TOKEN }}
17+
stale-issue-label: 'no-issue-activity'
18+
stale-pr-label: 'no-pr-activity'
19+
days-before-stale: 365
20+
days-before-close: 31
21+
stale-issue-message: >
22+
This issue is stale (365 days without activity) and will be closed
23+
in 31 days unless new activity is seen. Please feel free to re-open
24+
it is still a concern, possibly with additional data.
25+
stale-pr-message: >
26+
This pull request is is stale (365 days without activity) and will
27+
be closed in 31 days unless new activity is seen. Please feel free
28+
to open a new issue to discuss a fresh approach.

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2020-12-22 Dirk Eddelbuettel <[email protected]>
2+
3+
* .github/workflows/stale.yaml: Adding a staleness monitor labeling
4+
and ultimately closing issues and PRs after suitably long windows
5+
16
2020-12-16 Dirk Eddelbuettel <[email protected]>
27

38
* inst/NEWS.Rd: Updated for recent activity

0 commit comments

Comments
 (0)