Skip to content

Commit 454f108

Browse files
authored
HADOOP-19675. Close stale PRs updated over 100 days ago. (#7930). Contributed by He Xiaoqiao.
Signed-off-by: Ahmar Suhail <[email protected]> Signed-off-by: Shilun Fan <[email protected]>
1 parent c37e424 commit 454f108

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/stale.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one
3+
# or more contributor license agreements. See the NOTICE file
4+
# distributed with this work for additional information
5+
# regarding copyright ownership. The ASF licenses this file
6+
# to you under the Apache License, Version 2.0 (the
7+
# "License"); you may not use this file except in compliance
8+
# with the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing,
13+
# software distributed under the License is distributed on an
14+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
# KIND, either express or implied. See the License for the
16+
# specific language governing permissions and limitations
17+
# under the License.
18+
#
19+
20+
name: Close stale PRs
21+
on:
22+
schedule:
23+
- cron: "0 0 * * *"
24+
25+
jobs:
26+
stale:
27+
if: github.repository == 'apache/hadoop'
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/stale@v1
31+
with:
32+
stale-pr-message: >
33+
We're closing this stale PR because it has been open for 100 days with
34+
no activity. This isn't a judgement on the merit of the PR in any way.
35+
It's just a way of keeping the PR queue manageable.
36+
37+
If you feel like this was a mistake, or you would like to continue
38+
working on it, please feel free to re-open it and ask for a committer to
39+
remove the stale tag and review again.
40+
41+
Thanks all for your contribution.
42+
days-before-stale: 100
43+
days-before-close: 0
44+
close-pr-label: 'stale'

0 commit comments

Comments
 (0)