Skip to content

Commit

Permalink
Add stale workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jclem committed Aug 18, 2020
1 parent d77e8e7 commit fc4d627
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/stale.yml
@@ -0,0 +1,31 @@
name: Stale Issues & PRs

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
mark_stale:
name: Mark issues and PRs as stale
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
exempt-issue-labels: Not Stale
exempt-pr-labels: Not Stale
stale-issue-message: >
This issue is stale because it has been open for 60 days with no
activity. Remove the "Stale" label or comment on the issue, or it
will be closed in 7 days.
stale-pr-message: >
This pull request is stale because it has been open for 60 days
with no activity. Remove the "Stale" label or comment on the pull
request, or it will be closed in 7 days.
close-issue-message: >
This issue has been marked as stale and closed due to no activity
on it.
close-pr-message: >
This pull request has been marked as stale and closed due to no
activity on it.

0 comments on commit fc4d627

Please sign in to comment.