Skip to content

Commit

Permalink
Merge pull request #48 from rimolive/rmartine-commit-checker
Browse files Browse the repository at this point in the history
Fix Commit Checker PR comment formatting
  • Loading branch information
HumairAK authored May 29, 2024
2 parents 7127a61 + efb845e commit 542e1d4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/commit-check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 542e1d4

Please sign in to comment.