-
Notifications
You must be signed in to change notification settings - Fork 94
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 configuration at Wed Sep 25 23:44:01 UTC 2024 (
#2189) * chore: Update generation configuration at Wed Sep 25 23:44:01 UTC 2024 * update gen script * update gen workflow * chore: generate libraries at Wed Sep 25 23:48:28 UTC 2024 --------- Co-authored-by: Joe Wang <[email protected]>
- Loading branch information
1 parent
9ea45dc
commit 1b09421
Showing
145 changed files
with
8,750 additions
and
722 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -20,11 +20,10 @@ on: | |
env: | ||
HEAD_REF: ${{ github.head_ref }} | ||
REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }} | ||
GITHUB_REPOSITORY: ${{ github.repository }} | ||
|
||
jobs: | ||
library_generation: | ||
# skip pull requests coming from a forked repository | ||
if: github.env.REPO_FULL_NAME == github.repository | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -35,6 +34,10 @@ jobs: | |
shell: bash | ||
run: | | ||
set -ex | ||
if [[ "${GITHUB_REPOSITORY}" != "${REPO_FULL_NAME}" ]]; then | ||
echo "This PR comes from a fork. Generation will be skipped" | ||
exit 0 | ||
fi | ||
[ -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 .github/scripts/hermetic_library_generation.sh \ | ||
|
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
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
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
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
Oops, something went wrong.