mirror of https://github.com/apache/kafka.git
MINOR: Add links test catalog commits (#17650)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
7c536c9643
commit
dd432c0ca1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue