Skip to content

chore: add stale bot github action #713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Mark and close stale issues

on:
schedule:
- cron: "30 1 * * *"

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# The number of days old an issue can be before marking it stale. Set to -1 to never mark issues or pull requests as stale automatically.
days-before-stale: 21
# The number of days to wait to close an issue or pull request after it being marked stale. Set to -1 to never close stale issues.
days-before-close: 30
# The message to post on the issue when tagging it. If none provided, will not mark issues stale.
stale-issue-message: >
Hi everyone!
Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion.
Inactive issues will be closed after 30 days. Thanks.
# The message to post on the issue when closing it. If none provided, will not comment when closing an issue.
close-issue-message: >
Hey there, it's me again!
I am going close this issue to help our maintainers focus on the current development roadmap instead.
If the issue mentioned is still a concern, please open a new ticket and mention this old one.
# The labels to apply when an issue is exempt from being marked stale. Separate multiple labels with commas (eg. "label1,label2")
exempt-issue-labels: 'good first issue,todo'