Skip to content

🔧 Implement Ruff as required check instead of Black creating a commit re-formatting code #83

🔧 Implement Ruff as required check instead of Black creating a commit re-formatting code

🔧 Implement Ruff as required check instead of Black creating a commit re-formatting code #83

Workflow file for this run

name: Ensure formatted code
on:
pull_request:
types: [ opened, edited, reopened, synchronize, ready_for_review ]
workflow_dispatch:
jobs:
format_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- uses: chartboost/ruff-action@491342200cdd1cf4d5132a30ddc546b3b5bc531b
with:
changed-files: 'true'