Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.

Commit 8ab624c

Browse files
authored
Merge pull request #6 from NVIDIA-NeMo/ko3n1g/ci/add-community-bot
ci: Add community-bot
2 parents 56214f9 + 27df685 commit 8ab624c

2 files changed

Lines changed: 14 additions & 31 deletions

File tree

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,8 @@
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.
141
name: Stale-Close-Inactive-Issues-PRs
152
on:
163
schedule:
174
- cron: "30 1 * * *"
185

196
jobs:
207
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
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Community Bot
2+
3+
on:
4+
issues:
5+
types: [opened, edited, reopened, closed, deleted]
6+
issue_comment:
7+
types: [created, edited, deleted]
8+
9+
jobs:
10+
community-bot:
11+
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_community_bot.yml@v0.44.0
12+
secrets:
13+
GH_TOKEN: ${{ secrets.PAT }}

0 commit comments

Comments
 (0)