|
1 | | -# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved. |
2 | | -# |
3 | | -# Licensed under the Apache License, Version 2.0 (the "License"); |
4 | | -# you may not use this file except in compliance with the License. |
5 | | -# You may obtain a copy of the License at |
6 | | -# |
7 | | -# http://www.apache.org/licenses/LICENSE-2.0 |
8 | | -# |
9 | | -# Unless required by applicable law or agreed to in writing, software |
10 | | -# distributed under the License is distributed on an "AS IS" BASIS, |
11 | | -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | | -# See the License for the specific language governing permissions and |
13 | | -# limitations under the License. |
14 | 1 | name: Stale-Close-Inactive-Issues-PRs |
15 | 2 | on: |
16 | 3 | schedule: |
17 | 4 | - cron: "30 1 * * *" |
18 | 5 |
|
19 | 6 | jobs: |
20 | 7 | close-issues: |
21 | | - runs-on: ubuntu-latest |
22 | | - permissions: |
23 | | - issues: write |
24 | | - pull-requests: write |
25 | | - steps: |
26 | | - - uses: actions/stale@v6 |
27 | | - with: |
28 | | - operations-per-run: 100 |
29 | | - days-before-issue-stale: 30 |
30 | | - days-before-issue-close: 7 |
31 | | - stale-issue-label: "stale" |
32 | | - stale-issue-message: "This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days." |
33 | | - close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as stale." |
34 | | - days-before-pr-stale: 14 |
35 | | - days-before-pr-close: 7 |
36 | | - stale-pr-message: "This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days." |
37 | | - close-pr-message: "This PR was closed because it has been inactive for 7 days since being marked as stale." |
38 | | - repo-token: ${{ secrets.GITHUB_TOKEN }} |
| 8 | + uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_close_inactive_issue_pr.yml@v0.44.0 |
0 commit comments