Skip to content

Commit

Permalink
Adds the stale issue Github Actions workflow (#3389)
Browse files Browse the repository at this point in the history
Adding stale issue workflow as per http://bit.do/cirq-triage. 
Issues that are exempt from the stale check are the ones that have any of these labels: 

- triage/accepted
- triage/discuss
- kind/design-issue
- kind/health 
- kind/roadmap-item
- kind/task 

PRs are not subject to stale check yet.
  • Loading branch information
balopat committed Oct 5, 2020
1 parent b8e8d2f commit c15990f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/stale.yml
@@ -0,0 +1,20 @@
name: "Close stale issues"
description: 'Close issues with no recent activity'

on:
schedule:
- cron: "0 0 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days'
days-before-stale: 30
days-before-close: 30
close-issue-message: 'Issue closed due to inactivity.'
stale-issue-label: 'triage/stale'
exempt-issue-labels: 'triage/accepted,triage/discuss,kind/design-issue,kind/health,kind/roadmap-item,kind/task'

0 comments on commit c15990f

Please sign in to comment.