chore(lint): add autofix-python #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: autofix.ci (python) | |
on: | |
pull_request: | |
branches: [ "main" ] | |
paths: | |
- 'python/**' | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} | |
# If this is enabled it will cancel current running and start latest | |
cancel-in-progress: true | |
jobs: | |
autofix: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: chartboost/ruff-action@v1 | |
with: | |
src: "./python" | |
args: --fix | |
- uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc |