You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2025/03/13 15:44:10 UTC
(beam) branch master updated: Fix spotless (#34279)
This is an automated email from the ASF dual-hosted git repository.
damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new fd30941a67c Fix spotless (#34279)
fd30941a67c is described below
commit fd30941a67c1d70085ad052a94628fdeac2ce937
Author: Yi Hu <ya...@google.com>
AuthorDate: Thu Mar 13 11:44:04 2025 -0400
Fix spotless (#34279)
* Fix spotless
* It's code format check run on every PR matching path,
push trigger is not needed
* Fix spotless in :it
---
.github/workflows/beam_PreCommit_Spotless.yml | 12 +-----------
.../java/org/apache/beam/it/gcp/bigquery/BigQueryIOST.java | 8 +++++---
2 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/beam_PreCommit_Spotless.yml b/.github/workflows/beam_PreCommit_Spotless.yml
index 1b2d6f121eb..f1f914b5c03 100644
--- a/.github/workflows/beam_PreCommit_Spotless.yml
+++ b/.github/workflows/beam_PreCommit_Spotless.yml
@@ -15,21 +15,11 @@
name: PreCommit Spotless
on:
- push:
- tags: ['v*']
- branches: ['master', 'release-*']
- paths:
- - 'buildSrc/**'
- - 'sdks/java/**'
- - 'runners/**'
- - 'examples/java/**'
- - 'examples/kotlin/**'
- - '.test-infra/jenkins/'
- - '.github/workflows/beam_PreCommit_Spotless.yml'
pull_request_target:
branches: ['master', 'release-*']
paths:
- 'buildSrc/**'
+ - 'it/**'
- 'sdks/java/**'
- 'runners/**'
- 'examples/java/**'
diff --git a/it/google-cloud-platform/src/test/java/org/apache/beam/it/gcp/bigquery/BigQueryIOST.java b/it/google-cloud-platform/src/test/java/org/apache/beam/it/gcp/bigquery/BigQueryIOST.java
index f6f5f11b95f..6ccb52bdc0b 100644
--- a/it/google-cloud-platform/src/test/java/org/apache/beam/it/gcp/bigquery/BigQueryIOST.java
+++ b/it/google-cloud-platform/src/test/java/org/apache/beam/it/gcp/bigquery/BigQueryIOST.java
@@ -257,9 +257,11 @@ public final class BigQueryIOST extends IOStressTestBase {
break;
}
if (configuration.writeMethod.equals(STORAGE_WRITE_API_METHOD)) {
- writeIO = writeIO
- .withTriggeringFrequency(org.joda.time.Duration.standardSeconds(TRIGGERING_FREQUENCY_SECONDS))
- .withNumStorageWriteApiStreams(STORAGE_WRITE_API_STREAMS_NUMBER);
+ writeIO =
+ writeIO
+ .withTriggeringFrequency(
+ org.joda.time.Duration.standardSeconds(TRIGGERING_FREQUENCY_SECONDS))
+ .withNumStorageWriteApiStreams(STORAGE_WRITE_API_STREAMS_NUMBER);
}
generateDataAndWrite(writeIO);
}