Skip to content

Close Invalid Issue #18585

Close Invalid Issue

Close Invalid Issue #18585

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"