]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Only run tests when source files change.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 29 Apr 2022 08:27:34 +0000 (18:27 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 29 Apr 2022 08:40:32 +0000 (18:40 +1000)
Also run tests on changes to V_9_0 branch.

.github/workflows/c-cpp.yml
.github/workflows/selfhosted.yml
.github/workflows/upstream.yml

index b778c9804203b91fa9de8cda9fdb1544704c78b0..90152d638bef3455922409132939adc5b7521eb9 100644 (file)
@@ -2,9 +2,11 @@ name: C/C++ CI
 
 on:
   push:
-    branches: [ master, ci ]
+    branches: [ master, ci, V_9_0 ]
+    paths: [ '**.c', '**.h', '**.m4', '**.sh', '**.yml', 'Makefile.in', 'configure.ac' ]
   pull_request:
     branches: [ master ]
+    paths: [ '**.c', '**.h', '**.m4', '**.sh', '**.yml', 'Makefile.in', 'configure.ac' ]
 
 jobs:
   ci:
index ec2c29825c8593f6258314533aa449ce7f46d4d2..490dbd62a2ac020f268c8911809d900944ec3994 100644 (file)
@@ -2,7 +2,8 @@ name: C/C++ CI self-hosted
 
 on:
   push:
-    branches: [ master, ci ]
+    branches: [ master, ci, V_9_0 ]
+    paths: [ '**.c', '**.h', '**.m4', '**.sh', '**.yml', 'Makefile.in', 'configure.ac' ]
 
 jobs:
   selfhosted:
index b91083c651842f648af8d1c9679ff1dcb9067b90..ba0ef82729a867182d97c2a028ddc8295e5b6fa4 100644 (file)
@@ -3,6 +3,7 @@ name: Upstream self-hosted
 on:
   push:
     branches: [ master, ci ]
+    paths: [ '**.c', '**.h' ]
 
 jobs:
   selfhosted: