Skip to content

Commit b56836e

Browse files
fix: Reenable staleness bot (#632)
* Reenable staleness bot Reenable staleness bot on the repo * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Update owlbot.py * Update auto-label.yaml * Update owlbot.py Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 0637ab3 commit b56836e

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/auto-label.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
1+
# Copyright 2022 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
114
requestsize:
215
enabled: true
16+
staleness:
17+
pullrequest: true
18+
old: 30
19+
extraold: 60

owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121

2222
common_templates = gcp.CommonTemplates()
2323
templates = common_templates.node_library()
24-
s.copy(templates)
24+
s.copy(templates, excludes=[".github/auto-label.yaml"])
2525
node.fix_hermetic()

0 commit comments

Comments
 (0)