Allow cpplint to always be green (#21491)

Allow cpplint to always be green since it is optional. Also changed the
workflow name to reflect that.
This commit is contained in:
Justin Chu 2024-07-25 15:57:30 -07:00 committed by GitHub
parent b0e1f7f798
commit c464ab3aca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
@ -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/*