Skip to content

Commit 0a09622

Browse files
fix: Updating github actions to filter at job level
Signed-off-by: Francisco Javier Arceo <[email protected]>
1 parent c66bcd2 commit 0a09622

File tree

6 files changed

+1
-19
lines changed

6 files changed

+1
-19
lines changed

.github/workflows/operator_pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: operator-pr
33
on: [pull_request]
44
jobs:
55
operator-test:
6+
if: ${{ !contains(github.event.pull_request.files, 'docs/') }} # Skip if docs files changed
67
runs-on: ubuntu-latest
78
steps:
89
- uses: actions/checkout@v4

.github/workflows/pr_integration_tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
- opened
77
- synchronize
88
- labeled
9-
paths:
10-
- 'sdk/**'
11-
- 'ui/**'
129

1310
# concurrency is currently broken, see details https://github.com/actions/runner/issues/1532
1411
#concurrency:

.github/workflows/pr_local_integration_tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ on:
77
- opened
88
- synchronize
99
- labeled
10-
paths:
11-
- 'sdk/**'
12-
- 'ui/**'
13-
merge_group:
1410

1511
jobs:
1612
integration-test-python-local:

.github/workflows/pr_remote_rbac_integration_tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
- opened
88
- synchronize
99
- labeled
10-
paths:
11-
- 'sdk/**'
12-
- 'ui/**'
1310

1411
jobs:
1512
remote-rbac-integration-tests-python:

.github/workflows/smoke_tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ name: smoke-tests
22

33
on:
44
pull_request:
5-
paths:
6-
- 'sdk/**'
7-
- 'ui/**'
8-
merge_group:
95

106
jobs:
117
unit-test-python:

.github/workflows/unit_tests.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ name: unit-tests
22

33
on:
44
pull_request:
5-
paths:
6-
- 'sdk/**'
7-
- 'ui/**'
8-
paths-ignore:
9-
- 'docs/**'
105

116
jobs:
127
unit-test-python:

0 commit comments

Comments
 (0)