Skip to content

Commit 98026d4

Browse files
committed
[KYUUBI #7223] [CI] Skip running tests for documentation only changes
### Why are the changes needed? The PR disables heavy CI tests for documentation-only changes as not needed to speed up PR creation and save resources. ### How was this patch tested? The PR was not tested and relies on the official documentation: - [If you define both branches/branches-ignore and paths/paths-ignore, the workflow will only run when both filters are satisfied.](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#onpushpull_requestpull_request_targetpathspaths-ignore:~:text=the%20path%20again.-,If%20you%20define%20both%20branches/branches%2Dignore%20and%20paths/paths%2Dignore%2C%20the%20workflow%20will%20only%20run%20when%20both%20filters%20are%20satisfied.,-The%20paths%20and) - [Example: Excluding paths](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#example-excluding-paths) ### Was this patch authored or co-authored using generative AI tooling? No Closes #7223 from dnskr/skip-ci-tests-for-docs. Closes #7223 2d1f435 [dnskr] [CI] Skip running tests for documentation only changes Authored-by: dnskr <[email protected]> Signed-off-by: dnskr <[email protected]> (cherry picked from commit 6fb4c87) Signed-off-by: dnskr <[email protected]>
1 parent 1a6b520 commit 98026d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/master.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@ on:
2222
branches:
2323
- master
2424
- branch-*
25+
paths-ignore:
26+
- 'docs/**'
2527
pull_request:
2628
branches:
2729
- master
2830
- branch-*
31+
paths-ignore:
32+
- 'docs/**'
2933

3034
concurrency:
3135
group: test-${{ github.head_ref || github.run_id }}

0 commit comments

Comments
 (0)