|
| 1 | +# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
| 2 | +# SPDX-License-Identifier: Apache-2.0 |
| 3 | +# |
| 4 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +# you may not use this file except in compliance with the License. |
| 6 | +# You may obtain a copy of the License at |
| 7 | +# |
| 8 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# |
| 10 | +# Unless required by applicable law or agreed to in writing, software |
| 11 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +# See the License for the specific language governing permissions and |
| 14 | +# limitations under the License. |
| 15 | + |
| 16 | +name: 'Close stale issues and PRs' |
| 17 | +on: |
| 18 | + schedule: |
| 19 | + - cron: '0 12 * * *' |
| 20 | + |
| 21 | +jobs: |
| 22 | + stale: |
| 23 | + runs-on: ubuntu-latest |
| 24 | + permissions: |
| 25 | + actions: write |
| 26 | + issues: write |
| 27 | + pull-requests: write |
| 28 | + steps: |
| 29 | + - uses: actions/stale@v10 |
| 30 | + with: |
| 31 | + stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.' |
| 32 | + stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 14 days.' |
| 33 | + close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.' |
| 34 | + close-pr-message: 'This PR was closed because it has been stalled for 14 days with no activity.' |
| 35 | + days-before-issue-stale: 60 |
| 36 | + days-before-issue-close: 7 |
| 37 | + days-before-pr-stale: 30 |
| 38 | + days-before-pr-close: 14 |
| 39 | + exempt-issue-labels: 'Needs Triage' |
| 40 | + exempt-pr-labels: 'Under Review' |
| 41 | + operations-per-run: 100 |
0 commit comments