-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update generation config (#10955)
* chore: update repo level params * downgrade * add log * update script name * update title * capitalize word * add comments * remove major version limitation
- Loading branch information
1 parent
5a10656
commit 89b548f
Showing
4 changed files
with
39 additions
and
10 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ jobs: | |
set -x | ||
[ -z "$(git config user.email)" ] && git config --global user.email "[email protected]" | ||
[ -z "$(git config user.name)" ] && git config --global user.name "cloud-java-bot" | ||
bash generation/hermetic_library_generation.sh \ | ||
bash .github/scripts/hermetic_library_generation.sh \ | ||
--target_branch "${base_ref}" \ | ||
--current_branch "${head_ref}" \ | ||
--image_tag "${library_generation_image_tag}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,14 +13,14 @@ | |
# limitations under the License. | ||
# GitHub action job to test core java library features on | ||
# downstream client libraries before they are released. | ||
name: Update googleapis commit | ||
name: Update generation configuration | ||
on: | ||
schedule: | ||
- cron: '0 2 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-googleapis-commit: | ||
update-generation-config: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
# the branch into which the pull request is merged | ||
|
@@ -29,13 +29,13 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} | ||
- name: Update googleapis commit to latest | ||
- name: Update params in generation config to latest | ||
shell: bash | ||
run: | | ||
set -x | ||
[ -z "$(git config user.email)" ] && git config --global user.email "[email protected]" | ||
[ -z "$(git config user.name)" ] && git config --global user.name "cloud-java-bot" | ||
bash generation/update_googleapis_commit.sh \ | ||
bash .github/scripts/update_generation_config.sh.sh \ | ||
--base_branch "${base_branch}"\ | ||
--repo ${{ github.repository }} | ||
env: | ||
|