Skip to content

Commit

Permalink
Create stale.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich authored Jul 1, 2020
1 parent 4ef9767 commit cf0e8b2
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Mark stale issues and pull requests

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

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.RELEASE_USER_TOKEN }}
days-before-stale: 14

stale-issue-message: >
There has not been any activity to this issue in the last 30 days.
It will automatically be closed after 7 more days. Remove the `stale` label to prevent this.
stale-issue-label: 'stale'
exempt-issue-label: 'confirmed,help wanted'

stale-pr-message: >
There has not been any activity to this pull request in the last 30 days.
It will automatically be closed after 7 more days. Remove the `stale` label to prevent this.
stale-pr-label: 'stale'
exempt-pr-labels: 'awaiting-approval,work-in-progress'

0 comments on commit cf0e8b2

Please sign in to comment.