This is an automated email from the ASF dual-hosted git repository.

chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new dd432c0ca15 MINOR: Add links test catalog commits (#17650)
dd432c0ca15 is described below

commit dd432c0ca153b455038a4d1cc0d28d23c90bb540
Author: David Arthur <[email protected]>
AuthorDate: Thu Oct 31 12:53:02 2024 -0400

    MINOR: Add links test catalog commits (#17650)
    
    Reviewers: Chia-Ping Tsai <[email protected]>
---
 .github/workflows/build.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b113a37c729..3fbe8dde8db 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -215,11 +215,17 @@ jobs:
           path: test-catalog
       - name: Push Test Catalog
         # Git user.name and user.email come from 
https://github.com/actions/checkout?tab=readme-ov-file#push-a-commit-using-the-built-in-token
+        env:
+          COMMIT_MSG: |
+            Update test catalog data for GHA workflow run ${{ github.run_id }}
+            
+            Commit: https://github.com/apache/kafka/commit/${{ github.sha }}
+            GitHub Run: https://github.com/apache/kafka/actions/runs/${{ 
github.run_id }}
         run: |
           pwd
           ls -R
           git config user.name 'github-actions[bot]'
           git config user.email 
'41898282+github-actions[bot]@users.noreply.github.com'
           git add test-catalog
-          git diff --quiet && git diff --staged --quiet || git commit -m 
'Update test catalog data for GHA workflow run ${{ github.run_id }}'
+          git diff --quiet && git diff --staged --quiet || git commit -m 
"$COMMIT_MSG"
           git push

Reply via email to