mirror of
https://github.com/rust-vmm/rust-vmm-ci.git
synced 2026-08-05 03:08:31 +00:00
github/workflows: run black also on pull requests
It's happening quite often to have CI broken on the main branch because we only run `black` on merges, to prevent these problems, let's run `black` or PR as well. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
This commit is contained in:
committed by
ShadowCurse
parent
4700eac531
commit
438f36e242
3
.github/workflows/black.yaml
vendored
3
.github/workflows/black.yaml
vendored
@@ -1,5 +1,6 @@
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
black:
|
||||
@@ -11,4 +12,4 @@ jobs:
|
||||
run: pip install black
|
||||
|
||||
- name: Run black
|
||||
run: black . --check
|
||||
run: black . --check
|
||||
|
||||
Reference in New Issue
Block a user