github.com/cloudwego/hertz@v0.9.3/.github/workflows/invalid_question.yml (about)

     1  name: "Close Invalid Issue"
     2  on:
     3    schedule:
     4      - cron: "0 * * * *"
     5  
     6  permissions:
     7    contents: read
     8  
     9  jobs:
    10    stale:
    11      permissions:
    12        issues: write
    13      runs-on: ubuntu-latest
    14      env:
    15        ACTIONS_STEP_DEBUG: true
    16      steps:
    17        - name: Close Stale Issues
    18          uses: actions/stale@v6
    19          with:
    20            repo-token: ${{ secrets.GITHUB_TOKEN }}
    21            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."
    22            stale-issue-label: "stale"
    23            days-before-stale: 0
    24            days-before-close: 1
    25            remove-stale-when-updated: true
    26            only-labels: "invalid issue"