Skip to content

Commit

Permalink
Limit the CI jobs running on pull_request. (#2115)
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud authored Apr 17, 2024
1 parent 6a5ec63 commit f14809b
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 9 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci-disable-gtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/ci-linux-static-old-local.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: CI Unix Static For AVIF_LOCAL
on: [push, pull_request]
on:
push:
pull_request:
paths:
- '**CMakeLists.txt'
- 'cmake/**'
- 'ext/**'

permissions:
contents: read
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/ci-unix-static-av2.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: CI Unix Static AV2
on: [push, pull_request]
on:
push:
pull_request:
paths:
- '**CMakeLists.txt'
- 'cmake/**'
- 'ext/**'

permissions:
contents: read
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/ci-unix-static-sanitized.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: CI Unix Static Sanitized
on: [ push, pull_request ]
on:
push:
pull_request:
paths:
- '**CMakeLists.txt'
- 'cmake/**'
- 'ext/**'

permissions:
contents: read
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/ci-unix-static.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: CI Unix Static
on: [push, pull_request]
on:
push:
pull_request:
paths:
- '**CMakeLists.txt'
- 'cmake/**'
- 'ext/**'

permissions:
contents: read
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@
# * Builds with local zlib and libpng (-DAVIF_ZLIBPNG=LOCAL).

name: CI Windows
on: [push, pull_request]
on:
push:
pull_request:
paths:
- '**CMakeLists.txt'
- 'cmake/**'
- 'ext/**'

permissions:
contents: read
Expand All @@ -22,7 +28,7 @@ concurrency:
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
build-static:
build-windows:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: CI Fuzz
on:
push:
pull_request:
paths:
- 'cmake/**'
- 'ext/**'
- 'include/**'
- 'src/**'
- 'tests/gtest/**'
- 'tests/oss-fuzz/**'

Expand Down

0 comments on commit f14809b

Please sign in to comment.