Skip to content

Commit

Permalink
adding action for marking issues as stale and closing stale issues
Browse files Browse the repository at this point in the history
Signed-off-by: Joao Pereira <joaod@vmware.com>
  • Loading branch information
Steven Locke authored and joaopapereira committed Dec 10, 2020
1 parent 822f07b commit 94318ad
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/stale-issues-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Mark issues stale and close stale issues

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

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: actions/stale@87c2b794b9b47a9bec68ae03c01aeb572ffebdb1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response.'
stale-issue-label: 'stale'
exempt-issue-label: 'discussion'
only-labels: 'carvel-triage'
days-before-stale: 40
days-before-close: 5

0 comments on commit 94318ad

Please sign in to comment.