mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-13 22:18:36 +08:00
32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
# Ref: https://docs.github.com/en/actions/managing-issues-and-pull-requests/closing-inactive-issues
|
|
name: Close inactive issues
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 3 * * *"
|
|
|
|
jobs:
|
|
stale:
|
|
if: github.repository == 'NVIDIA/TensorRT-LLM'
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
steps:
|
|
- uses: actions/stale@v10
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
stale-issue-message: 'Issue has not received an update in over 14 days. Adding stale label.'
|
|
stale-pr-message: 'PR has not received an update in over 14 days. Adding stale label.'
|
|
close-issue-message: 'This issue was closed because it has been 14 days without activity since it has been marked as stale.'
|
|
close-pr-message: 'This PR was closed because it has been 14 days without activity since it has been marked as stale.'
|
|
days-before-issue-stale: 14
|
|
days-before-close: 14
|
|
only-labels: 'waiting for feedback'
|
|
labels-to-add-when-unstale: 'investigating'
|
|
labels-to-remove-when-unstale: 'stale,waiting for feedback'
|
|
stale-issue-label: 'stale'
|
|
stale-pr-label: 'stale'
|
|
operations-per-run: 1000
|