Skip to content

Commit 94759a4

Browse files
author
Michael Gasch
authored
Merge pull request #23 from embano1/issue-7
2 parents 37a8353 + e08a275 commit 94759a4

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# **************************************************************************
2+
# Copyright (c) Cloud Native Foundation.
3+
# SPDX-License-Identifier: Apache-2.0
4+
# **************************************************************************
5+
6+
name: Close Stale
7+
8+
on:
9+
schedule:
10+
- cron: "0 1 * * *" # daily
11+
12+
jobs:
13+
stale:
14+
runs-on: "ubuntu-latest"
15+
16+
steps:
17+
- uses: "actions/stale@v3"
18+
with:
19+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
20+
21+
stale-issue-message: |-
22+
This issue is stale because it has been open for 90 days with no
23+
activity. It will automatically close after 30 more days of
24+
inactivity. Mark as fresh by adding the comment `/remove-lifecycle stale`.
25+
stale-issue-label: "lifecycle/stale"
26+
exempt-issue-labels: "lifecycle/frozen"
27+
28+
stale-pr-message: |-
29+
This Pull Request is stale because it has been open for 90 days with
30+
no activity. It will automatically close after 30 more days of
31+
inactivity. Mark as fresh by adding the comment `/remove-lifecycle stale`.
32+
stale-pr-label: "lifecycle/stale"
33+
exempt-pr-labels: "lifecycle/frozen"
34+
35+
days-before-stale: 90
36+
days-before-close: 30

0 commit comments

Comments
 (0)