From a0fd7630389363e3d73e1974c1f842a1fe5742bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 1 May 2020 16:44:15 +0200 Subject: [PATCH] GitHub actions: do not run action twice on PRs. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/lint.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d488e5fe..879fe8c5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,6 +1,12 @@ name: Lint CI -on: [pull_request, push] +on: + push: + branches-ignore: + - master + pull_request: + branches: + - master jobs: lint: -- 2.34.1