From fe61f015e5d4648958f5a329dcc34862795e1f4e Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 24 Apr 2023 16:34:26 -0700 Subject: [PATCH] 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 --- .azure-pipelines.yml | 9 +++++++++ .github/workflows/awslc.yml | 16 ++++++++++++++++ .github/workflows/fuzz.yml | 1 + appveyor.yml | 9 +++++++++ 4 files changed, 35 insertions(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 3e2afa50fe..ec04019339 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -45,6 +45,15 @@ pr: branches: include: - 'master' + paths: + exclude: + - '.circleci/*' + - '.cirrus.yml' + - '.github/*' + - '.github/workflows/*' + - 'appveyor.yml' + - 'packages/*' + - 'plan9/*' stages: diff --git a/.github/workflows/awslc.yml b/.github/workflows/awslc.yml index 4b087fb1c9..6e012ea45e 100644 --- a/.github/workflows/awslc.yml +++ b/.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 diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index 4554ec39b9..695e0def97 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -29,6 +29,7 @@ on: - '**/*.md' - '**/CMakeLists.txt' - '.azure-pipelines.yml' + - '.circleci/**' - '.cirrus.yml' - 'appveyor.yml' - 'CMake/**' diff --git a/appveyor.yml b/appveyor.yml index ca8efcb9fd..66d81406ce 100644 --- a/appveyor.yml +++ b/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