Skip to content

Commit 542e1d4

Browse files
authored
Merge pull request #48 from rimolive/rmartine-commit-checker
Fix Commit Checker PR comment formatting
2 parents 7127a61 + efb845e commit 542e1d4

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/commit-check-pr.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,14 @@ jobs:
8181
git config user.name "${{ env.GH_USER_NAME }}"
8282
8383
cat <<"EOF" >> /tmp/body-file.txt
84-
Commit Checker results:
85-
==== These are the results of the commit checker scans ====
86-
==== If these are not commits from upstream kfp, then ====
87-
==== please ensure you adhere to the commit checker formatting ====
88-
$(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 }})
84+
### Commit Checker results:
85+
86+
```
87+
**NOTE**: These are the results of the commit checker scans.
88+
If these are not commits from upstream kfp, then please ensure
89+
you adhere to the commit checker formatting
90+
```
8991
EOF
92+
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
9093
9194
gh pr comment ${{ env.PR_NUMBER }} --body-file /tmp/body-file.txt

0 commit comments

Comments
 (0)