summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2022-04-29 10:27:34 +0200
committerDarren Tucker <dtucker@dtucker.net>2022-04-29 10:34:38 +0200
commit97a6a8b8c1f2da09712d0e72d0ef800e4edd34cd (patch)
tree92ef6fe8b93446438501d3e4eb4e1a8dfff1ed11 /.github
parentRemove now-empty int32_minmax.inc. (diff)
downloadopenssh-97a6a8b8c1f2da09712d0e72d0ef800e4edd34cd.tar.xz
openssh-97a6a8b8c1f2da09712d0e72d0ef800e4edd34cd.zip
Only run tests when source files change.
Also run tests on changes to V_9_0 branch.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/c-cpp.yml4
-rw-r--r--.github/workflows/selfhosted.yml3
-rw-r--r--.github/workflows/upstream.yml1
3 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index 02985a10c..68db999d8 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -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:
diff --git a/.github/workflows/selfhosted.yml b/.github/workflows/selfhosted.yml
index 1309baeca..2ddf27599 100644
--- a/.github/workflows/selfhosted.yml
+++ b/.github/workflows/selfhosted.yml
@@ -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:
diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml
index b91083c65..ba0ef8272 100644
--- a/.github/workflows/upstream.yml
+++ b/.github/workflows/upstream.yml
@@ -3,6 +3,7 @@ name: Upstream self-hosted
on:
push:
branches: [ master, ci ]
+ paths: [ '**.c', '**.h' ]
jobs:
selfhosted: