Skip to content

Commit f884201

Browse files
committed
feat(project): Add cronjob to check for stale issues
GitHub actions is a workflow engine. The stale workflow helps us to keep the issue tracker up to date. Issues that doesn't have activity since 60 days will be marked as stale and closed eventually.
1 parent 3f966dd commit f884201

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/stale.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "Close stale issues"
2+
on:
3+
schedule:
4+
- cron: "0 4 * * *"
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/[email protected]
11+
with:
12+
repo-token: ${{ secrets.GITHUB_TOKEN }}
13+
stale-issue-message: >
14+
This issue has been automatically marked as stale because it has not had
15+
recent activity in the last 60 days. It will be closed in 7 days if no further activity occurs.
16+
Thank you for your contributions.
17+
days-before-stale: 60
18+
days-before-close: 7
19+
stale-issue-label: stale

0 commit comments

Comments
 (0)