Skip to content

Commit

Permalink
Add github acgtion (slackapi#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
srajiang authored Nov 29, 2021
1 parent a6bdd3f commit 0b8db0b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/triage-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow uses the following github action to automate
# management of stale issues and prs in this repo:
# https://github.com/marketplace/actions/close-stale-issues

name: Close stale issues and PRs

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

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4.0.0
with:
days-before-issue-stale: 30
days-before-issue-close: 10
days-before-pr-stale: -1
days-before-pr-close: -1
stale-issue-label: auto-triage-stale
stale-issue-message: 👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out.
close-issue-message: As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number.
exempt-issue-labels: auto-triage-skip
exempt-all-milestones: true
remove-stale-when-updated: true
enable-statistics: true
operations-per-run: 60

0 comments on commit 0b8db0b

Please sign in to comment.