Skip to content

Commit

Permalink
chore: shorten time to close stale issues and PRs (#9193)
Browse files Browse the repository at this point in the history
This change updates the github actions config to close pull requests and
issues that have not been updated in the last 30 days.

## Checklist

- [x] Change(s) are motivated and described in the PR description
- [x] Testing strategy is described if automated tests are not included
in the PR
- [x] Risks are described (performance impact, potential for breakage,
maintainability)
- [x] Change is maintainable (easy to change, telemetry, documentation)
- [x] [Library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
are followed or label `changelog/no-changelog` is set
- [x] Documentation is included (in-code, generated user docs, [public
corp docs](https://github.com/DataDog/documentation/))
- [x] Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))
- [x] If this PR changes the public interface, I've notified
`@DataDog/apm-tees`.

## Reviewer Checklist

- [x] Title is accurate
- [x] All changes are related to the pull request's stated goal
- [x] Description motivates each change
- [x] Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes
- [x] Testing strategy adequately addresses listed risks
- [x] Change is maintainable (easy to change, telemetry, documentation)
- [x] Release note makes sense to a user of the library
- [x] Author has acknowledged and discussed the performance implications
of this PR as reported in the benchmarks PR comment
- [x] Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)

Co-authored-by: Brett Langdon <brett.langdon@datadoghq.com>
  • Loading branch information
emmettbutler and brettlangdon committed May 7, 2024
1 parent 3a12bac commit dac8aa2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Label stale issues and PRs'
name: 'Close stale issues and PRs'
on:
schedule:
# 00:00:000 UTC
Expand All @@ -17,16 +17,16 @@ jobs:
# DEV: GitHub Actions have an API rate limit of 1000 operations per hour per repository
# This limit is shared across all actions
operations-per-run: 200
days-before-close: 180
days-before-close: 30
exempt-issue-labels: 'proposal'
exempt-pr-labels: 'proposal'
close-issue-message: |
This issue has been automatically closed after six months of inactivity. If it's a
This issue has been automatically closed after a period of inactivity. If it's a
feature request, it has been added to the maintainers' internal backlog and will be
included in an upcoming round of feature prioritization. Please comment or reopen
if you think this issue was closed in error.
close-pr-message: |
This pull request has been automatically closed after six months of inactivity.
This pull request has been automatically closed after a period of inactivity.
After this much time, it will likely be easier to open a new pull request with the
same changes than to update this one from the base branch. Please comment or reopen
if you think this pull request was closed in error.

0 comments on commit dac8aa2

Please sign in to comment.