Run black linter on pull requests (#543)

The black linter was only being run on pushes to main and not on opened PRs. We should run on both to avoid linting errors after a PR is merged.
This commit is contained in:
Donncha Ó Cearbhaill
2024-09-30 10:49:00 +01:00
committed by GitHub
parent 617c5d9e1c
commit d79f6cbd7d

View File

@@ -1,5 +1,10 @@
name: Black
on: [push]
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
black: