Skip to content

Commit

Permalink
Improve filters for ossfuzz and bazel (#1703)
Browse files Browse the repository at this point in the history
Ignore changes to workflow files other than the one in question.

Also, no point in filtering out old release branches and tags, since
the workflow files don't exist there anyway.

Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm authored Apr 9, 2024
1 parent da6b169 commit 9aa1484
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/bazel_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,23 @@ name: Bazel

on:
push:
branches-ignore:
- RB-2.*
tags-ignore:
- v1.*
- v2.*
paths:
- '**'
- '!**.md'
- '!website/**'
- 'website/src/**'
- '!src/wrappers/**'
- '!.github/workflows/**'
- '.github/workflows/bazel_build.yml'
pull_request:
branches-ignore:
- RB-2.*
tags-ignore:
- v1.*
- v2.*
paths:
- '**'
- '!**.md'
- '!website/**'
- 'website/src/**'
- '!src/wrappers/**'
- '!.github/workflows/**'
- '.github/workflows/bazel_build.yml'

permissions:
contents: read
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/ossfuzz_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,23 @@ name: OSS-Fuzz

on:
push:
branches-ignore:
- RB-2.*
tags-ignore:
- v1.*
- v2.*
paths:
- '**'
- '!**.md'
- '!website/**'
- '!bazel/**'
- '!src/wrappers/**'
- '!.github/workflows/**'
- '.github/workflows/ossfuzz_workflow.yml'
pull_request:
branches-ignore:
- RB-2.*
tags-ignore:
- v1.*
- v2.*
paths:
- '**'
- '!**.md'
- '!website/**'
- '!bazel/**'
- '!src/wrappers/**'
- '!.github/workflows/**'
- '.github/workflows/ossfuzz_workflow.yml'

permissions:
contents: read
Expand Down

0 comments on commit 9aa1484

Please sign in to comment.