Skip to content

Commit 50a7f9e

Browse files
dfarrell07tpantelis
authored andcommitted
Switch from stale app to stale GHA
The stale app has been deprecated and replaced with a GitHub Action. probot/probot.github.io#376 probot/stale#385 Signed-off-by: Daniel Farrell <[email protected]>
1 parent cd35a87 commit 50a7f9e

File tree

2 files changed

+32
-57
lines changed

2 files changed

+32
-57
lines changed

.github/stale.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.

.github/workflows/stale.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Stale
3+
4+
on:
5+
schedule:
6+
- cron: "0 0 * * *"
7+
8+
permissions: {}
9+
10+
jobs:
11+
stale:
12+
name: Close Stale Issues and PRs
13+
if: github.repository_owner == 'submariner-io'
14+
runs-on: ubuntu-latest
15+
permissions:
16+
issues: write
17+
pull-requests: write
18+
steps:
19+
- uses: actions/stale@b69b346013879cedbf50c69f572cd85439a41936
20+
with:
21+
days-before-issue-stale: 120
22+
days-before-pr-stale: 14
23+
exempt-issue-labels: 'confirmed,security'
24+
exempt-pr-labels: 'confirmed,security'
25+
stale-issue-label: 'stale'
26+
stale-issue-message: |
27+
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further
28+
activity occurs. Thank you for your contributions.
29+
stale-pr-label: 'stale'
30+
stale-pr-message: |
31+
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further
32+
activity occurs. Thank you for your contributions.

0 commit comments

Comments
 (0)