mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Use suggest-changes@v2 (#22667)
Use suggest-changes@v2 (https://github.com/parkerbxyz/suggest-changes/issues/36#issuecomment-2447605058) to post suggested changes as comments instead of requested changes to streamline the review process. - Also updated the script to `set +e` to ignore exit code only for the linter run. So that if there is errors in dependency installation we can still get signals.
This commit is contained in:
parent
ba0bb43b00
commit
f7cabf6d4c
1 changed files with 3 additions and 3 deletions
6
.github/workflows/pr_checks.yml
vendored
6
.github/workflows/pr_checks.yml
vendored
|
|
@ -41,12 +41,12 @@ jobs:
|
|||
|
||||
- name: Install dependencies and run lintrunner on all files
|
||||
run: |
|
||||
set -e
|
||||
python -m pip install --user -r requirements-dev.txt
|
||||
python -m pip install --user lintrunner lintrunner-adapters
|
||||
python -m pip install --user lintrunner lintrunner-adapters
|
||||
lintrunner init
|
||||
set +e
|
||||
lintrunner f --all-files -v
|
||||
exit 0
|
||||
- uses: parkerbxyz/suggest-changes@v1
|
||||
- uses: parkerbxyz/suggest-changes@v2
|
||||
with:
|
||||
comment: 'You can commit the suggested changes from lintrunner.'
|
||||
|
|
|
|||
Loading…
Reference in a new issue