Browse Source

CI: don't run CI jobs if only another CI was changed

A few paths were missed in the last commit, as well as a job added since
then.

Followup-to 395b9175
Dan Fandrich 1 year ago
parent
commit
fe61f015e5
4 changed files with 35 additions and 0 deletions
  1. 9 0
      .azure-pipelines.yml
  2. 16 0
      .github/workflows/awslc.yml
  3. 1 0
      .github/workflows/fuzz.yml
  4. 9 0
      appveyor.yml

+ 9 - 0
.azure-pipelines.yml

@@ -45,6 +45,15 @@ pr:
   branches:
     include:
     - 'master'
+  paths:
+    exclude:
+    - '.circleci/*'
+    - '.cirrus.yml'
+    - '.github/*'
+    - '.github/workflows/*'
+    - 'appveyor.yml'
+    - 'packages/*'
+    - 'plan9/*'
 
 stages:
 

+ 16 - 0
.github/workflows/awslc.yml

@@ -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

+ 1 - 0
.github/workflows/fuzz.yml

@@ -29,6 +29,7 @@ on:
     - '**/*.md'
     - '**/CMakeLists.txt'
     - '.azure-pipelines.yml'
+    - '.circleci/**'
     - '.cirrus.yml'
     - 'appveyor.yml'
     - 'CMake/**'

+ 9 - 0
appveyor.yml

@@ -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