Skip to content

Commit 8cac6d6

Browse files
authored
chore: Disable OwlBot PRs. (#10696)
1 parent a1e72bb commit 8cac6d6

File tree

185 files changed

+9
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+9
-9
lines changed

.github/release-note-generation/split_release_note.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# https://github.com/googleapis/google-cloud-java/pull/9502 --json body
66
# --jq '.body'`
77
# 2nd argument: the path to a directory that whose child directories contain
8-
# ".OwlBot.yaml", "pom.xml", and "CHANGELOG.md". It's the root directory
8+
# ".Owlbot-hermetic.yaml", "pom.xml", and "CHANGELOG.md". It's the root directory
99
# of the google-cloud-java repository.
1010
# Example:
1111
# google-cloud-java$ python3 split_release_note.py main_changelog.txt .
@@ -46,7 +46,7 @@ def detect_modules(root_directory: Path):
4646

4747
module_path = repo_metadata_path.parent
4848
module_pom_xml = module_path / 'pom.xml'
49-
owlbot_yaml_path = module_path/ '.OwlBot.yaml'
49+
owlbot_yaml_path = module_path/ '.OwlBot-hermetic.yaml'
5050
if not module_pom_xml.exists():
5151
continue
5252
tree = ET.parse(module_pom_xml)
@@ -166,7 +166,7 @@ def main():
166166
break
167167

168168

169-
# Step 2: Detects target modules by .OwlBot.yaml for api-name: field.
169+
# Step 2: Detects target modules by .Owlbot-hermetic.yaml for api-name: field.
170170
root_directory = sys.argv[2]
171171
modules = detect_modules(Path(root_directory))
172172
api_to_modules = {module.api_name: module for module in modules}

.github/workflows/generated_files_sync.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ jobs:
9191
run: git --no-pager diff --exit-code
9292

9393
owlbot-yaml:
94-
# Each module's .Owlbot.yaml config is configured according to set_owlbot_config.sh
94+
# Each module's .Owlbot-hermetic.yaml config is configured according to set_owlbot_config.sh
9595
runs-on: ubuntu-latest
9696
steps:
9797
- uses: actions/checkout@v4
98-
- name: Check if .Owlbot.yaml files are correctly configured
98+
- name: Check if .Owlbot-hermetic.yaml files are correctly configured
9999
run: |
100100
bash generation/set_owlbot_config.sh
101101
- name: Fail if there's any difference (To fix, run generation/set_owlbot_config.sh)

generation/set_owlbot_config.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
# that the paths correctly reference the files under the modules in this monorepo.
55
#
66
# Usage:
7-
# set_owlbot_config.sh <.OwlBot.yaml path from the root>
7+
# set_owlbot_config.sh <.Owlbot-hermetic.yaml path from the root>
88
# Example:
9-
# $ set_owlbot_config.sh java-dataform/.OwlBot.yaml
9+
# $ set_owlbot_config.sh java-dataform/.Owlbot-hermetic.yaml
1010
#
1111
# To apply the change to all OwlBot configuration files in all modules:
12-
# $ for F in `find . -maxdepth 2 -name '.OwlBot.yaml'`; do sh generation/set_owlbot_config.sh $F; done
12+
# $ for F in `find . -maxdepth 2 -name '.Owlbot-hermetic.yaml'`; do sh generation/set_owlbot_config.sh $F; done
1313

14-
for F in `find . -maxdepth 2 -name '.OwlBot.yaml'`;
14+
for F in `find . -maxdepth 2 -name '.Owlbot-hermetic.yaml'`;
1515
do
1616

1717
OWLBOT_FILE=$F
File renamed without changes.

0 commit comments

Comments
 (0)