Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add black linter to a GitHub action

NyanKiyoshi5d940ed3d73f
diff --git a/.github/main.workflow b/.github/main.workflow
new file mode 100644
index 0000000000..d1ca44ced7
--- /dev/null
+++ b/.github/main.workflow
@@ -0,0 +1,9 @@
+workflow "Linters" {
+ on = "push"
+ resolves = ["Black Linter"]
+}
+
+action "Black Linter" {
+ uses = "lgeiger/black-action@4379f39aa4b6a3bb1cceb46a7665b9c26647d82d"
+ args = "saleor --check"
+}