mirror of
https://github.com/mvt-project/mvt.git
synced 2026-04-21 11:16:20 +02:00
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:
committed by
GitHub
parent
617c5d9e1c
commit
d79f6cbd7d
@@ -1,5 +1,10 @@
|
||||
name: Black
|
||||
on: [push]
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
black:
|
||||
|
||||
Reference in New Issue
Block a user