Skip to content

Commit 75a7050

Browse files
ChristianTackeGSIdennisklein
authored andcommitted
backport(workflow): Mark issues/PRs as stale
This runs in the master branch only. But still backport it, so it's in sync the dev branch. See-Also: 0c088da See-Also: d6b91e1 See-Also: f4f8e6e See-Also: b3a0a26 See-Also: 5863027
1 parent d16b36a commit 75a7050

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/stale.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
# SPDX-FileCopyrightText: 2025 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH, Darmstadt, Germany
3+
#
4+
# SPDX-License-Identifier: CC0-1.0
5+
6+
name: Mark stale issues and PRs
7+
8+
on:
9+
schedule:
10+
# At 02:17 UTC on every 5th day-of-month from 3
11+
- cron: '17 2 3,8,13,18,23,28 * *'
12+
13+
permissions:
14+
issues: write
15+
pull-requests: write
16+
17+
# For managing the operation state cache
18+
# https://github.com/actions/stale/issues/1159
19+
actions: write
20+
21+
jobs:
22+
stale:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/stale@v9
26+
with:
27+
days-before-stale: 365
28+
days-before-close: -1
29+
ascending: true
30+
operations-per-run: 5
31+
stale-issue-message: >-
32+
This issue has been automatically marked as stale
33+
because it has not had recent activity.
34+
It will not be closed.
35+
stale-pr-message: >-
36+
This PR has been automatically marked as stale
37+
because it has not had recent activity.
38+
It will not be closed.

0 commit comments

Comments
 (0)