You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by xq...@apache.org on 2025/09/05 13:25:51 UTC
(beam) 01/01: Update beam_PreCommit_Whitespace.yml to run validateChanges
This is an automated email from the ASF dual-hosted git repository.
xqhu pushed a commit to branch liferoad-validate-changes
in repository https://gitbox.apache.org/repos/asf/beam.git
commit fa567f92fc0b910155e0831e6d9c908aa0441674
Author: liferoad <hu...@gmail.com>
AuthorDate: Fri Sep 5 09:25:41 2025 -0400
Update beam_PreCommit_Whitespace.yml to run validateChanges
fixes https://github.com/apache/beam/issues/35760
---
.github/workflows/beam_PreCommit_Whitespace.yml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/.github/workflows/beam_PreCommit_Whitespace.yml b/.github/workflows/beam_PreCommit_Whitespace.yml
index 8e5b3f0200c..46322936f19 100644
--- a/.github/workflows/beam_PreCommit_Whitespace.yml
+++ b/.github/workflows/beam_PreCommit_Whitespace.yml
@@ -86,3 +86,15 @@ jobs:
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :whitespacePreCommit
+ - name: Check if CHANGES.md was modified
+ id: changes
+ uses: dorny/paths-filter@v3
+ with:
+ filters: |
+ changes:
+ - 'CHANGES.md'
+ - name: validate CHANGES.md
+ if: steps.changes.outputs.changes == 'true' || github.event_name == 'push'
+ uses: ./.github/actions/gradle-command-self-hosted-action
+ with:
+ gradle-command: :validateChanges