mirror of
https://github.com/svc-develop-team/so-vits-svc.git
synced 2025-01-08 11:57:43 +08:00
cicd: add reviewdog
This commit is contained in:
parent
fb63c67698
commit
bb679690b8
18
.github/workflows/reviewdog.yml
vendored
Normal file
18
.github/workflows/reviewdog.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: Ruff Autofix
|
||||||
|
on: [pull_request]
|
||||||
|
jobs:
|
||||||
|
ruff:
|
||||||
|
permissions:
|
||||||
|
checks: write
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: chartboost/ruff-action@v1
|
||||||
|
with:
|
||||||
|
args: --fix -e
|
||||||
|
- uses: reviewdog/action-suggester@v1
|
||||||
|
with:
|
||||||
|
tool_name: ruff
|
||||||
|
|
Loading…
Reference in New Issue
Block a user