Skip to content

Commit 0029f5f

Browse files
committed
applies pre-commit changes
1 parent be0f635 commit 0029f5f

1,770 files changed

Lines changed: 14883 additions & 15158 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gemini/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ code_review:
4242

4343
# Post PR summary when opened.
4444
# Type boolean, default: true.
45-
summary: true
45+
summary: true
4646

4747
# Post code review on PR open.
4848
# Type boolean, default: true.

.github/actions/activate-service-account/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ runs:
1919
- name: Removing Keyfile
2020
if: ${{ always() }}
2121
shell: bash
22-
run: rm -f /tmp/gcp_access.json
22+
run: rm -f /tmp/gcp_access.json

.github/actions/common-rc-validation/action.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,3 @@ runs:
5151
- name: Installing python SDK
5252
shell: bash
5353
run: pip install apache_beam-${RELEASE_VER}.tar.gz[gcp]
54-

.github/actions/rerun-job-action/action.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
# under the License.
1717

1818

19-
#Action used to trigger a failed check re-run within a PR using a comment. Add this action to your workflow with an if condition
20-
#to check if the comment is present
19+
#Action used to trigger a failed check re-run within a PR using a comment. Add this action to your workflow with an if condition
20+
#to check if the comment is present
2121
#If the check is failed this will trigger it again. If its not failed a new instance of workflow will run which will not show in the status box or checks tab in the PR and can be found in the actions tab https://github.com/apache/beam/actions
2222

2323
name: "Rerun Job Action"
@@ -45,17 +45,17 @@ runs:
4545
steps:
4646
- name: Get Last Commit SHA
4747
shell: bash
48-
run: |
48+
run: |
4949
URL=${{inputs.pull_request_url}}/commits
5050
PRSHA=$(curl \
5151
-H 'Authorization: Bearer ${{inputs.github_token}}' \
5252
-H "Accept: application/vnd.github+json" \
5353
-H "X-GitHub-Api-Version: 2022-11-28" \
54-
-s $URL | jq -r '.[-1].sha' )
54+
-s $URL | jq -r '.[-1].sha' )
5555
echo prsha=$PRSHA >> $GITHUB_ENV
5656
- name: Get Status and Conclusion for PR Job
5757
shell: bash
58-
run: |
58+
run: |
5959
JOB="${{inputs.github_job}}"
6060
QUERY_JOB=${JOB// /+}
6161
URL="${{github.api_url}}/repos/${{inputs.github_repository}}/commits/${{env.prsha}}/check-runs?check_name=$QUERY_JOB"
@@ -73,7 +73,7 @@ runs:
7373
echo status=$STATUS >> $GITHUB_ENV
7474
echo conclusion=$CONCLUSION >> $GITHUB_ENV
7575
echo check_suite_id=$CHECK_SUITE_ID >> $GITHUB_ENV
76-
76+
7777
7878
- name: Disable Rerun for Success or Skipped
7979
if: ${{(env.status == 'completed' && (env.conclusion == 'success' || env.conclusion == 'skipped')) || env.skip == 'true'}}
@@ -83,7 +83,7 @@ runs:
8383
- name: Get Run ID
8484
if: ${{env.rerun != 'false' }}
8585
shell: bash
86-
run: |
86+
run: |
8787
URL="${{github.api_url}}/repos/${{inputs.github_repository}}/actions/runs?check_suite_id=${{env.check_suite_id}}"
8888
RUN_ID=$(curl \
8989
-H 'Authorization: Bearer ${{inputs.github_token}}' \
@@ -94,7 +94,7 @@ runs:
9494
- name: Get Job ID
9595
if: ${{env.rerun != 'false' }}
9696
shell: bash
97-
run: |
97+
run: |
9898
URL="${{github.api_url}}/repos/${{inputs.github_repository}}/actions/runs/${{env.run_id}}/jobs"
9999
JOB_ID=$(curl \
100100
-H 'Authorization: Bearer ${{inputs.github_token}}' \
@@ -105,13 +105,13 @@ runs:
105105
- name: Trigger Re-run
106106
if: ${{env.rerun != 'false' }}
107107
shell: bash
108-
run: |
108+
run: |
109109
URL="${{github.api_url}}/repos/${{inputs.github_repository}}/actions/jobs/${{env.job_id}}/rerun"
110110
curl -X POST \
111111
-H 'Authorization: Bearer ${{inputs.github_token}}' \
112112
-H "Accept: application/vnd.github+json" \
113113
-H "X-GitHub-Api-Version: 2022-11-28" \
114-
-s $URL
114+
-s $URL
115115
- name: Install GH Cli
116116
if: ${{env.rerun != 'false' }}
117117
shell: bash
@@ -126,4 +126,4 @@ runs:
126126
gh run cancel ${{ inputs.github_current_run_id }}
127127
gh run watch ${{ inputs.github_current_run_id }}
128128
env:
129-
GITHUB_TOKEN: ${{ inputs.github_token }}
129+
GITHUB_TOKEN: ${{ inputs.github_token }}

.github/actions/setup-action/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ runs:
6464
with:
6565
github_token: ${{ inputs.github_token }}
6666
github_job: ${{ inputs.github_job || github.job }}
67-
github_repository: ${{ github.repository }}
67+
github_repository: ${{ github.repository }}
6868
github_current_run_id: ${{ github.run_id }}
6969
pull_request_url: ${{ github.event.issue.pull_request.url }}
7070
## Used for jobs that spawn docker containers and need to mount gcloud config directory

.github/actions/setup-default-test-properties/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ runs:
2828
shell: bash
2929
run: |
3030
JSON=$(cat ./.github/actions/setup-default-test-properties/test-properties.json)
31-
echo "test-properties=$(echo $JSON)" >> $GITHUB_OUTPUT
31+
echo "test-properties=$(echo $JSON)" >> $GITHUB_OUTPUT

.github/actions/setup-k8s-access/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
# under the License.
1717

1818

19-
#Action used to trigger a failed check re-run within a PR using a comment. Add this action to your workflow with an if condition
20-
#to check if the comment is present
19+
#Action used to trigger a failed check re-run within a PR using a comment. Add this action to your workflow with an if condition
20+
#to check if the comment is present
2121
#If the check is failed this will trigger it again. If its not failed a new instance of workflow will run which will not show in the status box or checks tab in the PR and can be found in the actions tab https://github.com/apache/beam/actions
2222

2323
name: "Setup Kuberenetes Access"
@@ -44,7 +44,7 @@ runs:
4444
steps:
4545
- name: Check if inputs were provided
4646
shell: bash
47-
run: |
47+
run: |
4848
if [ -z "${{ inputs.k8s_namespace }}" ]; then
4949
echo "Kubernetes namespace not provided"
5050
exit 1
@@ -61,7 +61,7 @@ runs:
6161
gcloud container clusters get-credentials ${{ inputs.cluster_name }} --zone ${{ inputs.cluster_zone }} --project apache-beam-testing
6262
- name: Create namespace
6363
shell: bash
64-
run: |
64+
run: |
6565
kubectl create namespace ${{ steps.replace_namespace.outputs.TEST_NAMESPACE }}
6666
- name: Set default namespace
6767
shell: bash

.github/actions/test-arguments-action/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ runs:
3838
steps:
3939
- name: Check if test-type was provided
4040
shell: bash
41-
run: |
41+
run: |
4242
if [ -z "${{ inputs.test-type }}" ]; then
4343
echo "Test type was not provided"
4444
exit 1
4545
fi
4646
- name: Check if test-language was provided
4747
shell: bash
48-
run: |
48+
run: |
4949
if [ -z "${{ inputs.test-language }}" ]; then
5050
echo "Test language was not provided"
5151
exit 1

.github/autolabeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ io: ["sdks/go/pkg/beam/io/**/*", "sdks/java/io/**/*", "sdks/python/apache_beam/
6767
"mqtt": ["sdks/java/io/mqtt/**/*"]
6868
"parquet": ["sdks/java/io/parquet/**/*"]
6969
"rabbitmq": ["sdks/java/io/rabbitmq/**/*"]
70-
"redis": ["sdks/java/io/redis/**/*"]
70+
"redis": ["sdks/java/io/redis/**/*"]
7171
"solr": ["sdks/java/io/solr/**/*"]
7272
"spanner": ["sdks/go/pkg/beam/io/spannerio/**/*", "sdks/python/apache_beam/io/gcp/spanner.py", "sdks/python/apache_beam/io/gcp/experimental/spannerio.py", "sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/**/*"]
7373
"bigtable": ["sdks/go/pkg/beam/io/bigtableio/**/*", "sdks/go/pkg/beam/io/xlang/bigtableio/**/*", "sdks/python/apache_beam/io/gcp/bigtableio.py", "sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigtable/**/*"]
@@ -76,7 +76,7 @@ io: ["sdks/go/pkg/beam/io/**/*", "sdks/java/io/**/*", "sdks/python/apache_beam/
7676
"thrift": ["sdks/java/io/thrift/**/*"]
7777
"tika": ["sdks/java/io/tika/**/*"]
7878
"xml": ["sdks/java/io/xml/**/*"]
79-
79+
8080
# Runners
8181
"runners": ["runners/**/*", "sdks/go/pkg/beam/runners/**/*", "sdks/python/apache_beam/runners/**/*", "sdks/typescript/src/apache_beam/runners/**/*"]
8282
"core": ["runners/core-java/**/*"]

.github/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ task check {
7777

7878
task preCommit {
7979
dependsOn check
80-
}
80+
}

0 commit comments

Comments
 (0)