]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CI: don't run CI jobs if only another CI was changed
authorDan Fandrich <dan@coneharvesters.com>
Mon, 24 Apr 2023 23:34:26 +0000 (16:34 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 25 Apr 2023 03:46:09 +0000 (20:46 -0700)
A few paths were missed in the last commit, as well as a job added since
then.

Followup-to 395b9175

.azure-pipelines.yml
.github/workflows/awslc.yml
.github/workflows/fuzz.yml
appveyor.yml

index 3e2afa50fe996b1508fe8285b21d7c7be42a63e9..ec04019339df4c4ab4c33ea973bcbbf810c29f38 100644 (file)
@@ -45,6 +45,15 @@ pr:
   branches:
     include:
     - 'master'
+  paths:
+    exclude:
+    - '.circleci/*'
+    - '.cirrus.yml'
+    - '.github/*'
+    - '.github/workflows/*'
+    - 'appveyor.yml'
+    - 'packages/*'
+    - 'plan9/*'
 
 stages:
 
index 4b087fb1c9ec4a2557ef711ab1e74735a818fe13..6e012ea45ead984f739fca6c4179b371fe8efa11 100644 (file)
@@ -11,11 +11,27 @@ on:
     - '*/ci'
     paths-ignore:
     - '**/*.md'
+    - '.azure-pipelines.yml'
+    - '.circleci/**'
+    - '.cirrus.yml'
+    - 'appveyor.yml'
+    - 'packages/**'
+    - 'plan9/**'
+    - 'projects/**'
+    - 'winbuild/**'
   pull_request:
     branches:
     - master
     paths-ignore:
     - '**/*.md'
+    - '.azure-pipelines.yml'
+    - '.circleci/**'
+    - '.cirrus.yml'
+    - 'appveyor.yml'
+    - 'packages/**'
+    - 'plan9/**'
+    - 'projects/**'
+    - 'winbuild/**'
 
 concurrency:
   # Hardcoded workflow filename as workflow name above is just Linux again
index 4554ec39b99e80cfde2b7ccc6c369a534559859f..695e0def979ca21bf271e6b384784fedea1068ab 100644 (file)
@@ -29,6 +29,7 @@ on:
     - '**/*.md'
     - '**/CMakeLists.txt'
     - '.azure-pipelines.yml'
+    - '.circleci/**'
     - '.cirrus.yml'
     - 'appveyor.yml'
     - 'CMake/**'
index ca8efcb9fdc09677b4651326a9b19b9eaff15f9a..66d81406ce2cebab058426f19339d29f19a2be51 100644 (file)
@@ -357,6 +357,15 @@ branches:
         - master
         - /\/ci$/
 
+skip_commits:
+  files:
+    - '.azure-pipelines.yml'
+    - '.circleci/**'
+    - '.cirrus.yml'
+    - '.github/**'
+    - 'packages/**'
+    - 'plan9/**'
+
 artifacts:
   - path: '**/curl.exe'
     name: curl