Skip to content

Commit

Permalink
Allow cpplint to always be green (#21491)
Browse files Browse the repository at this point in the history
Allow cpplint to always be green since it is optional. Also changed the
workflow name to reflect that.
  • Loading branch information
justinchuby authored Jul 25, 2024
1 parent b0e1f7f commit c464ab3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
checkout_path: ${{ github.workspace }}

lint-cpp:
name: Lint C++
name: Optional Lint C++
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
Expand All @@ -89,10 +89,11 @@ jobs:
- name: Generate ONNX protobuf files
run: cmake --build build/Debug --config Debug --target onnx_proto
- uses: reviewdog/action-cpplint@master
continue-on-error: true
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-check
level: warning
level: info
flags: --linelength=120
--exclude=java/src/main/native/*.c
--exclude=onnxruntime/core/mlas/inc/*
Expand Down

0 comments on commit c464ab3

Please sign in to comment.