Close stale issues #979
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2004-present Facebook All rights reserved. | |
# Use of this source code is governed by a BSD-style | |
# license that can be found in the LICENSE file. | |
name: "Close stale issues" | |
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 5 days' | |
days-before-stale: 30 | |
days-before-close: 5 | |
stale-issue-label: 'no-issue-activity' | |
exempt-issue-labels: 'awaiting-approval,work-in-progress' | |
stale-pr-label: 'no-pr-activity' | |
exempt-pr-labels: 'awaiting-approval,work-in-progress' | |
only-labels: 'awaiting-feedback,awaiting-answers' |