Skip to content

Commit

Permalink
chore: Rename all the references of .Owlbot.yaml to .OwlBot-hermetic.…
Browse files Browse the repository at this point in the history
…yaml.
  • Loading branch information
blakeli0 committed Apr 13, 2024
1 parent 7818ab2 commit 7c37243
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generated_files_sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ jobs:
run: git --no-pager diff --exit-code

owlbot-yaml:
# Each module's .Owlbot.yaml config is configured according to set_owlbot_config.sh
# Each module's .Owlbot-hermetic.yaml config is configured according to set_owlbot_config.sh
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check if .Owlbot.yaml files are correctly configured
- name: Check if .Owlbot-hermetic.yaml files are correctly configured
run: |
bash generation/set_owlbot_config.sh
- name: Fail if there's any difference (To fix, run generation/set_owlbot_config.sh)
Expand Down
8 changes: 4 additions & 4 deletions generation/set_owlbot_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
# that the paths correctly reference the files under the modules in this monorepo.
#
# Usage:
# set_owlbot_config.sh <.OwlBot.yaml path from the root>
# set_owlbot_config.sh <.Owlbot-hermetic.yaml path from the root>
# Example:
# $ set_owlbot_config.sh java-dataform/.OwlBot.yaml
# $ set_owlbot_config.sh java-dataform/.Owlbot-hermetic.yaml
#
# To apply the change to all OwlBot configuration files in all modules:
# $ for F in `find . -maxdepth 2 -name '.OwlBot.yaml'`; do sh generation/set_owlbot_config.sh $F; done
# $ for F in `find . -maxdepth 2 -name '.Owlbot-hermetic.yaml'`; do sh generation/set_owlbot_config.sh $F; done

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

OWLBOT_FILE=$F
Expand Down

0 comments on commit 7c37243

Please sign in to comment.