mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
parent
a7fc193b35
commit
94efd1e3de
2 changed files with 15 additions and 0 deletions
|
@ -97,4 +97,17 @@ class PrChangesTest extends KibanaBasePipelineTest {
|
|||
|
||||
assertFalse(prChanges.areChangesSkippable())
|
||||
}
|
||||
|
||||
@Test
|
||||
void 'areChangesSkippable() with plugin readme changes'() {
|
||||
props([
|
||||
githubPrs: [
|
||||
getChanges: { [
|
||||
[filename: 'src/plugins/foo/README.asciidoc'],
|
||||
] },
|
||||
],
|
||||
])
|
||||
|
||||
assertFalse(prChanges.areChangesSkippable())
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,6 +22,8 @@ def getNotSkippablePaths() {
|
|||
return [
|
||||
// this file is auto-generated and changes to it need to be validated with CI
|
||||
/^docs\/developer\/architecture\/code-exploration.asciidoc$/,
|
||||
// don't skip CI on prs with changes to plugin readme files (?i) is for case-insensitive matching
|
||||
/(?i)\/plugins\/[^\/]+\/readme\.(md|asciidoc)$/,
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue