mirror of
https://github.com/mvt-project/mvt.git
synced 2026-02-12 16:42:45 +00: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
7
.github/workflows/black.yml
vendored
7
.github/workflows/black.yml
vendored
@@ -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