Close Invalid Issue #14554
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
name: "Close Invalid Issue" | |
on: | |
schedule: | |
- cron: "0 * * * *" | |
permissions: | |
contents: read | |
jobs: | |
stale: | |
permissions: | |
issues: write | |
runs-on: ubuntu-latest | |
env: | |
ACTIONS_STEP_DEBUG: true | |
steps: | |
- name: Close Stale Issues | |
uses: actions/stale@v6 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: "This issue has been marked as invalid question, please give more information by following the `issue` template. The issue will be closed in 1 days if no further activity occurs." | |
stale-issue-label: "stale" | |
days-before-stale: 0 | |
days-before-close: 1 | |
remove-stale-when-updated: true | |
only-labels: "invalid issue" |