Skip to content

Commit 285a535

Browse files
authored
.github/workflows: Avoid specifying the paths-ignore keyword (#2511)
Update the CI-related workflows and avoid specifying the paths-ignore keyword. Because we have configure required status contexts through branch protection rules, any workflow that is skipped due to path filtering results in an unknown status, which results in tide stalling any merge despite a PR matching the merge criteria (e.g. lgtm/approval label present). This is a short term fix to the solution: the long term solution is dynamically filtering out certain file paths as a pre-requisite job vs. statically filtering using the paths-ignore filter, while we wait for GitHub to add this as first-class functionality. Signed-off-by: timflannagan <[email protected]>
1 parent 3949ceb commit 285a535

File tree

7 files changed

+0
-14
lines changed

7 files changed

+0
-14
lines changed

.github/workflows/build.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: build
22
on:
33
pull_request:
4-
paths-ignore:
5-
- '**/*.md'
64
jobs:
75
image:
86
runs-on: ubuntu-latest

.github/workflows/e2e-tests.yml

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on:
44
branches:
55
- master
66
pull_request:
7-
paths-ignore:
8-
- '**/*.md'
97
jobs:
108
e2e-tests:
119
runs-on: ubuntu-latest

.github/workflows/run-kind-local.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: run-olm-kind
22
on:
33
pull_request:
4-
paths-ignore:
5-
- '**/*.md'
64
schedule:
75
- cron: '0 0 * * *' # daily to pick up releases
86
jobs:

.github/workflows/run-minikube-local.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: run-olm-minikube
22
on:
33
pull_request:
4-
paths-ignore:
5-
- '**/*.md'
64
schedule:
75
- cron: '0 0 * * *' # daily to pick up releases
86
jobs:

.github/workflows/sanity.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on:
44
branches:
55
- '**'
66
pull_request:
7-
paths-ignore:
8-
- '**/*.md'
97
jobs:
108
sanity:
119
runs-on: ubuntu-latest

.github/workflows/unit.yml

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on:
44
branches:
55
- master
66
pull_request:
7-
paths-ignore:
8-
- '**/*.md'
97
jobs:
108
unit:
119
runs-on: ubuntu-latest

.github/workflows/verify.yml

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on:
44
branches:
55
- master
66
pull_request:
7-
paths-ignore:
8-
- '**/*.md'
97
jobs:
108
verify:
119
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)