From 4b459d8853d089e5d4bb661c0b221cdf032ffdb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sat, 16 May 2020 19:25:42 +0100 Subject: Move pre-commit checks from Travis CI to a GitHub Action. This replaces the need for optional execution within the Travis CI configuration, and updates Mergify to wait on both checks. Also remove flake8 from pytest on 3.8 since flake8 is already executed in pre-commit. --- .mergify.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.mergify.yml') diff --git a/.mergify.yml b/.mergify.yml index 57d396e..63dd7c8 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -7,6 +7,7 @@ pull_request_rules: conditions: - "#approved-reviews-by>=1" - "status-success=Travis CI - Pull Request" + - "status-success=pre-commit" actions: merge: method: rebase @@ -14,6 +15,7 @@ pull_request_rules: conditions: - "author=Flameeyes" - "status-success=Travis CI - Pull Request" + - "status-success=pre-commit" actions: merge: method: rebase -- cgit v1.2.3