Skip to content

Commit a59970e

Browse files
committed
chore: Ignore hermetic build
1 parent 8cd5e7f commit a59970e

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

.github/workflows/hermetic_library_generation.yaml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,33 @@
1313
# limitations under the License.
1414
# GitHub action job to test core java library features on
1515
# downstream client libraries before they are released.
16-
name: Hermetic library generation upon generation config change through pull requests
17-
on:
18-
pull_request:
19-
20-
env:
21-
REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }}
22-
GITHUB_REPOSITORY: ${{ github.repository }}
23-
jobs:
24-
library_generation:
25-
runs-on: ubuntu-latest
26-
steps:
27-
- name: Determine whether the pull request comes from a fork
28-
run: |
29-
if [[ "${GITHUB_REPOSITORY}" != "${REPO_FULL_NAME}" ]]; then
30-
echo "This PR comes from a fork. Skip library generation."
31-
echo "SHOULD_RUN=false" >> $GITHUB_ENV
32-
else
33-
echo "SHOULD_RUN=true" >> $GITHUB_ENV
34-
fi
35-
- uses: actions/checkout@v5
36-
if: env.SHOULD_RUN == 'true'
37-
with:
38-
fetch-depth: 0
39-
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
40-
- uses: googleapis/sdk-platform-java/.github/[email protected]
41-
if: env.SHOULD_RUN == 'true'
42-
with:
43-
base_ref: ${{ github.base_ref }}
44-
head_ref: ${{ github.head_ref }}
45-
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
16+
#name: Hermetic library generation upon generation config change through pull requests
17+
#on:
18+
# pull_request:
19+
#
20+
#env:
21+
# REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }}
22+
# GITHUB_REPOSITORY: ${{ github.repository }}
23+
#jobs:
24+
# library_generation:
25+
# runs-on: ubuntu-latest
26+
# steps:
27+
# - name: Determine whether the pull request comes from a fork
28+
# run: |
29+
# if [[ "${GITHUB_REPOSITORY}" != "${REPO_FULL_NAME}" ]]; then
30+
# echo "This PR comes from a fork. Skip library generation."
31+
# echo "SHOULD_RUN=false" >> $GITHUB_ENV
32+
# else
33+
# echo "SHOULD_RUN=true" >> $GITHUB_ENV
34+
# fi
35+
# - uses: actions/checkout@v5
36+
# if: env.SHOULD_RUN == 'true'
37+
# with:
38+
# fetch-depth: 0
39+
# token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
40+
# - uses: googleapis/sdk-platform-java/.github/[email protected]
41+
# if: env.SHOULD_RUN == 'true'
42+
# with:
43+
# base_ref: ${{ github.base_ref }}
44+
# head_ref: ${{ github.head_ref }}
45+
# token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}

0 commit comments

Comments
 (0)