Skip to content

Commit

Permalink
feat(project): Add cronjob to check for stale issues
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
andygrunwald committed May 2, 2020
1 parent 3f966dd commit f884201
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Close stale issues"
on:
schedule:
- cron: "0 4 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity in the last 60 days. It will be closed in 7 days if no further activity occurs.
Thank you for your contributions.
days-before-stale: 60
days-before-close: 7
stale-issue-label: stale

0 comments on commit f884201

Please sign in to comment.