fix(ci): detect properly plugin changes in lib directory (#4264)

This commit is contained in:
Kevin Duret 2023-03-08 10:35:39 +01:00 committed by GitHub
parent f2afd9f5d4
commit 9c4e15e1f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ list_packages = set()
for plugin in plugins:
list_plugins.add(plugin)
try:
found = re.search('(.*)\/(?:plugin\.pm|mode\/.+|custom\/.+)', plugin).group(1)
found = re.search('(.*)\/(?:plugin\.pm|(?:lib|mode|custom)\/.+)', plugin).group(1)
list_plugins.add(found)
except AttributeError:
pass