diff --git a/.github/workflows/lint-and-check-formatting.yml b/.github/workflows/lint-and-check-formatting.yml index 20c74cf1..42cb259d 100644 --- a/.github/workflows/lint-and-check-formatting.yml +++ b/.github/workflows/lint-and-check-formatting.yml @@ -1,5 +1,9 @@ name: Perform linting checks -on: [ push, pull_request ] +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] jobs: ruff: runs-on: ubuntu-latest