Skip to content

Commit e3356c5

Browse files
abbyhu2000sipopo
authored andcommitted
add path ignore for markdown files (#2312)
To save resources and job runners, some PRs do not need to run the full test suite. For PRs and pushes with markdown changes only, the build and test workflow will be skipped. (Linter test should be okay to skipped since it will automatically run with every commit). For PRs and pushes with markdown changes along with other changes, the build and test workflow will not be skipped. Issue Resolved: #1214 Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> Signed-off-by: Sergey V. Osipov <sipopo@yandex.ru>
1 parent d205f3a commit e3356c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build_and_test_workflow.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ name: Build and test
77
on:
88
push:
99
branches: [ '**', '!feature/**', '!backport/**' ]
10+
paths-ignore:
11+
- '**/*.md'
1012
pull_request:
1113
branches: [ '**', '!feature/**' ]
14+
paths-ignore:
15+
- '**/*.md'
1216

1317
env:
1418
TEST_BROWSER_HEADLESS: 1

0 commit comments

Comments
 (0)