]> 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:34:38 +0000 (18:34 +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 02985a10c94342df2ad5a82be95c394faaa03b4f..68db999d85e668cbb25533e50d3db3eb4f7507c9 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 1309baecac1bd7d08ab4191fc46071938cc10faa..2ddf275995722d9b6ec21380a4356d7da674aac8 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: