GitHub actions: do not run action twice on PRs.
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 1 May 2020 14:44:15 +0000 (16:44 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 1 May 2020 14:44:15 +0000 (16:44 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/lint.yml

index d488e5fedfa1214a20d23383c9c593cb34a2f1cb..879fe8c5d86eeff6ed4c93067140962b5e265fa0 100644 (file)
@@ -1,6 +1,12 @@
 name: Lint CI
 
-on: [pull_request, push]
+on:
+  push:
+    branches-ignore:
+      - master
+  pull_request:
+    branches:
+      - master
 
 jobs:
   lint: