From efb845e0daa854d08a8f8008c3ebf4421a55d386 Mon Sep 17 00:00:00 2001 From: "Ricardo M. Oliveira" Date: Wed, 29 May 2024 15:10:41 -0300 Subject: [PATCH] UPSTREAM::Fix Commit Checker PR comment formatting Signed-off-by: Ricardo M. Oliveira --- .github/workflows/commit-check-pr.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/commit-check-pr.yml b/.github/workflows/commit-check-pr.yml index eafe576c0c9..e0b87346bcb 100644 --- a/.github/workflows/commit-check-pr.yml +++ b/.github/workflows/commit-check-pr.yml @@ -81,11 +81,14 @@ jobs: git config user.name "${{ env.GH_USER_NAME }}" cat <<"EOF" >> /tmp/body-file.txt - Commit Checker results: - ==== These are the results of the commit checker scans ==== - ==== If these are not commits from upstream kfp, then ==== - ==== please ensure you adhere to the commit checker formatting ==== - $(podman run -q -v ${{ github.workspace }}:/src/app-root quay.io/rmartine/commitchecker:latest --start ${{ steps.get-commits.outputs.master_commit_hash }} --end ${{ steps.get-commits.outputs.last_commit_hash }}) + ### Commit Checker results: + + ``` + **NOTE**: These are the results of the commit checker scans. + If these are not commits from upstream kfp, then please ensure + you adhere to the commit checker formatting + ``` EOF + podman run -q -v ${{ github.workspace }}:/src/app-root quay.io/rmartine/commitchecker:latest --start ${{ steps.get-commits.outputs.master_commit_hash }} --end ${{ steps.get-commits.outputs.last_commit_hash }} >> /tmp/body-file.txt 2>&1 gh pr comment ${{ env.PR_NUMBER }} --body-file /tmp/body-file.txt