diff --git a/.github/workflows/ci-disable-gtest.yml b/.github/workflows/ci-disable-gtest.yml index c87ed8bc06..15aa136295 100644 --- a/.github/workflows/ci-disable-gtest.yml +++ b/.github/workflows/ci-disable-gtest.yml @@ -5,7 +5,13 @@ # * Disables gtest. name: CI Disable GTest -on: [push, pull_request] +on: + push + pull_request: + paths: + - '**CMakeLists.txt**' + - 'cmake/**' + - 'ext/**' permissions: contents: read diff --git a/.github/workflows/ci-linux-static-old-local.yml b/.github/workflows/ci-linux-static-old-local.yml index 99aada918c..d5f700b8cb 100644 --- a/.github/workflows/ci-linux-static-old-local.yml +++ b/.github/workflows/ci-linux-static-old-local.yml @@ -1,5 +1,10 @@ name: CI Unix Static For AVIF_LOCAL -on: [push, pull_request] + push + pull_request: + paths: + - '**CMakeLists.txt**' + - 'cmake/**' + - 'ext/**' permissions: contents: read diff --git a/.github/workflows/ci-unix-shared-local.yml b/.github/workflows/ci-unix-shared-local.yml index 12f52dbc1c..ccf2ba3229 100644 --- a/.github/workflows/ci-unix-shared-local.yml +++ b/.github/workflows/ci-unix-shared-local.yml @@ -4,7 +4,12 @@ # * Does not build rav1e, SVT-AV1 nor libgav1. name: CI Unix Shared Local -on: [push, pull_request] + push + pull_request: + paths: + - '**CMakeLists.txt**' + - 'cmake/**' + - 'ext/**' permissions: contents: read diff --git a/.github/workflows/ci-unix-static-av2.yml b/.github/workflows/ci-unix-static-av2.yml index 60b2d7d23f..c86d858fa9 100644 --- a/.github/workflows/ci-unix-static-av2.yml +++ b/.github/workflows/ci-unix-static-av2.yml @@ -1,5 +1,10 @@ name: CI Unix Static AV2 -on: [push, pull_request] + push + pull_request: + paths: + - '**CMakeLists.txt**' + - 'cmake/**' + - 'ext/**' permissions: contents: read diff --git a/.github/workflows/ci-unix-static-sanitized.yml b/.github/workflows/ci-unix-static-sanitized.yml index f3371a320e..e3ef57c602 100644 --- a/.github/workflows/ci-unix-static-sanitized.yml +++ b/.github/workflows/ci-unix-static-sanitized.yml @@ -1,5 +1,10 @@ name: CI Unix Static Sanitized -on: [ push, pull_request ] + push + pull_request: + paths: + - '**CMakeLists.txt**' + - 'cmake/**' + - 'ext/**' permissions: contents: read diff --git a/.github/workflows/ci-unix-static.yml b/.github/workflows/ci-unix-static.yml index 32d858edca..550bd5dbdc 100644 --- a/.github/workflows/ci-unix-static.yml +++ b/.github/workflows/ci-unix-static.yml @@ -1,5 +1,10 @@ name: CI Unix Static -on: [push, pull_request] + push + pull_request: + paths: + - '**CMakeLists.txt**' + - 'cmake/**' + - 'ext/**' permissions: contents: read diff --git a/.github/workflows/ci-windows-installed.yml b/.github/workflows/ci-windows-installed.yml index 3955e78c0d..14de9ba8c1 100644 --- a/.github/workflows/ci-windows-installed.yml +++ b/.github/workflows/ci-windows-installed.yml @@ -5,10 +5,7 @@ # * TODO: use proper installations of libgav1, libsharpyuv and SVT once released. name: CI Windows Installed -on: - push: - branches: - - main +on: [push] permissions: contents: read diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index ec23064106..e9e010f13c 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -11,7 +11,12 @@ # * Builds with local zlib and libpng (-DAVIF_ZLIBPNG=LOCAL). name: CI Windows -on: [push, pull_request] + push + pull_request: + paths: + - '**CMakeLists.txt**' + - 'cmake/**' + - 'ext/**' permissions: contents: read @@ -22,7 +27,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: - build-static: + build-windows: runs-on: ${{ matrix.os }} strategy: fail-fast: false diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index 7b2bd2b77e..2379eee98d 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -4,8 +4,6 @@ on: paths: - 'cmake/**' - 'ext/**' - - 'include/**' - - 'src/**' - 'tests/gtest/**' - 'tests/oss-fuzz/**'