Skip to content

Commit b453f28

Browse files
authored
chore: sync workflow to update gen config (#2526)
1 parent f968429 commit b453f28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/update_generation_config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ on:
1818
schedule:
1919
- cron: '0 2 * * *'
2020
workflow_dispatch:
21-
2221
jobs:
2322
update-generation-config:
2423
runs-on: ubuntu-22.04
@@ -28,15 +27,16 @@ jobs:
2827
steps:
2928
- uses: actions/checkout@v4
3029
with:
30+
fetch-depth: 0
3131
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
3232
- name: Update params in generation config to latest
3333
shell: bash
3434
run: |
35-
set -ex
35+
set -x
3636
[ -z "$(git config user.email)" ] && git config --global user.email "[email protected]"
3737
[ -z "$(git config user.name)" ] && git config --global user.name "cloud-java-bot"
3838
bash .github/scripts/update_generation_config.sh \
39-
--base_branch "${base_branch}"\
39+
--base_branch "${base_branch}" \
4040
--repo ${{ github.repository }}
4141
env:
4242
GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}

0 commit comments

Comments
 (0)