Skip to content

Commit

Permalink
[CI] Add debug output for the clang-format task (intel#9881)
Browse files Browse the repository at this point in the history
Manual testing before merging lint-related PRs didn't reveal issues but
it seems to misbehave after merge. Add some debug output to root cause.
I hope to address the issues during the day, if not I'm going to revert
the changes in the evening.
  • Loading branch information
aelovikov-intel authored Jun 14, 2023
1 parent a69e515 commit 52c4efb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions devops/actions/clang-format/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ runs:
git config --global --add safe.directory ${{ inputs.path }}
git -C ${{ inputs.path }} clang-format ${{ github.event.pull_request.base.sha }}
git -C ${{ inputs.path }} diff > ./clang-format.patch
- name: Debug
shell: bash
run: |
git -C ${{ inputs.path }} log ${{ github.event.pull_request.base.sha }}..HEAD
git -C ${{ inputs.path }} diff ${{ github.event.pull_request.base.sha }}..HEAD
# Add patch with formatting fixes to CI job artifacts
- uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit 52c4efb

Please sign in to comment.