Skip to content

Commit

Permalink
Fix missing vars in buildkite changesets.sh (#38830) (#38831)
Browse files Browse the repository at this point in the history
PR #38814 missed a couple of patterns required
by the `defineModuleFromTheChangeSet()` function.

This commit adds the missing regex patters
needed for identifying module changesets.

(cherry picked from commit a3f7bae)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
  • Loading branch information
mergify[bot] and dliappis authored Apr 10, 2024
1 parent b62a637 commit 9e4aba4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .buildkite/scripts/changesets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

# This script contains helper functions related to what should be run depending on Git changes

OSS_MODULE_PATTERN="^[a-z0-9]+beat\\/module\\/([^\\/]+)\\/.*"
XPACK_MODULE_PATTERN="^x-pack\\/[a-z0-9]+beat\\/module\\/([^\\/]+)\\/.*"

are_paths_changed() {
local patterns=("${@}")
local changelist=()
Expand Down

0 comments on commit 9e4aba4

Please sign in to comment.