Skip to content

Merge branch 'fix-local-tests' #330

Merge branch 'fix-local-tests'

Merge branch 'fix-local-tests' #330

Workflow file for this run

name: Format code
on:
pull_request:
branches: [main, develop]
push:
branches: [main, develop]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- uses: rickstaa/action-black@v1
with:
black_args: "backend/**/*.py _cli/**/*.py"
- uses: actionsx/prettier@v2
with:
# prettier CLI arguments.
args: --ignore-path frontend/.prettierignore --write frontend
- name: Commit changes
uses: stefanzweifel/[email protected]
with:
commit_message: Formatting changes
branch: ${{ github.head_ref }}