diff options
| author | Wolfgang Walther <walther@technowledgy.de> | 2025-06-23 22:33:12 +0200 |
|---|---|---|
| committer | Wolfgang Walther <walther@technowledgy.de> | 2025-06-24 14:46:58 +0200 |
| commit | 58dd9630c38123707c6acd97fb65f33f36c70af1 (patch) | |
| tree | cff4f232983822b08623e205695ca429dc96c847 /pkgs/development/python-modules/rangehttpserver | |
| parent | 63b9355ed892b715a881f95e71fc3c22c67bb641 (diff) | |
workflows/labels: manage stale label for pull requests
This manages the `2. status: stale` label for pull requests only (not
issues, yet) with the following conditions:
- The last event on the timeline of the Pull Request counts.
- Labeling and unlabeling of any kind are ignored.
- Older than 180 days are stale.
- Security labeled PRs are never stale.
To handle this label correctly, it's important to go through all pull
requests. Any approach to limit the list of PRs via search are not going
to work:
- Filtering by `updated` is not going to work, because it includes the
last time that *a label was set* on the PR. To actually find out whether
a PR is stale or not, the timeline of events needs to be looked at.
- Filtering by an existing stale label is not going to work either,
because such a label might have been added manually and thus breaking
the rules we set up here. Thus any existing label needs to be confirmed
as well.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
