Skip to content
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

Create stale action for PRs and Issues #1393

Merged
merged 1 commit into from
Nov 29, 2022
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
26 changes: 26 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Close stale issues and PRs'
on:
workflow_dispatch:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
stale-issue-message: >
👋 Hey Friends, this issue has been automatically marked as `stale` because it has no recent activity.
It will be closed if no further activity occurs.
Please add the `Status: Pinned` label if you feel that this issue needs to remain open/active.
Thank you for your contributions and help in keeping things tidy!
stale-pr-message: >
👋 Hey Friends, this pull request has been automatically marked as `stale` because it has no recent activity.
It will be closed if no further activity occurs.
Please add the `Status: Pinned` label if you feel that this issue needs to remain open/active.
Thank you for your contributions and help in keeping things tidy!
days-before-stale: 270
days-before-close: 7
exempt-issue-labels: 'Status: Pinned'
exempt-pr-labels: 'Status: Pinned'