Skip to content

Stale Issues and PRs #52

Stale Issues and PRs

Stale Issues and PRs #52

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Stale Issue and PR Management
#
# Automatically marks inactive issues/PRs as stale and eventually closes them.
# This keeps the issue tracker focused on active work.
#
# Timelines (per DGXC OSS Policy):
# Issues: 90 days -> stale, 30 more days -> closed
# PRs: 30 days -> stale, 30 more days -> closed
#
# Exemptions:
# - lifecycle/frozen: Never goes stale (use for long-running or intentionally open issues)
# - P0: Critical issues never go stale
# - do-not-merge: PRs won't be closed
name: Stale Issues and PRs
on:
schedule:
- cron: "0 6 * * *"
workflow_dispatch: {}
permissions:
contents: read
jobs:
stale:
name: Mark stale issues and PRs
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
timeout-minutes: 10
steps:
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.1.0
with:
stale-issue-message: |
This issue has been marked as stale due to 90 days of inactivity.
It will be closed in 30 days unless there is new activity.
To keep this issue open:
- Add a comment with an update
- Add the `lifecycle/frozen` label
If this issue is no longer relevant, it's okay to let it close.
days-before-stale: 90
stale-issue-label: 'lifecycle/stale'
exempt-issue-labels: 'lifecycle/frozen,P0,good first issue'
stale-pr-message: |
This PR has been marked as stale due to 30 days of inactivity.
It will be closed in 30 days unless there is new activity.
To keep this PR open:
- Push new commits or add a comment
- Add the `lifecycle/frozen` label
If this work is no longer needed, it's okay to let it close.
days-before-pr-stale: 30
stale-pr-label: 'lifecycle/stale'
exempt-pr-labels: 'lifecycle/frozen,do-not-merge'
close-issue-message: |
This issue was automatically closed due to inactivity after being marked as stale.
If you believe this issue is still relevant:
- Reopen with a comment providing updated details or context
- Add the `lifecycle/frozen` label to prevent it from being closed again
close-pr-message: |
This pull request was automatically closed due to inactivity after being marked as stale.
If you would like to continue this work:
- Reopen and push new commits or add a comment with an update
- Add the `lifecycle/frozen` label to prevent it from being closed again
days-before-close: 30
operations-per-run: 500