Skip to content

Commit

Permalink
Only make suggestions on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
samjwu committed May 27, 2024
1 parent f82f131 commit 18fc167
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ jobs:
./clang-format-diff.sh ${{ github.base_ref }} ${{ github.ref }}
- name: Apply Clang-Format locally
if: github.event_name == 'pull_request'
run: |
./clang-format-apply.sh ${{ github.base_ref }} ${{ github.ref }}
- name: Suggest changes
uses: parkerbxyz/suggest-changes@v1
if: github.event_name == 'pull_request'
with:
comment: 'Please make the changes suggested by clang-format'

0 comments on commit 18fc167

Please sign in to comment.