Skip to content

Commit

Permalink
Merge of #3559
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jul 29, 2024
2 parents 292cf89 + 89f867e commit d1dfee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/check-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ check_changelog_added_in_subfolders() {
subfolder_pattern=$(printf "|%s" "${subfolders[@]}")
subfolder_pattern=${subfolder_pattern:1} # Remove the leading '|'

added_files=$(git diff --diff-filter=A --name-only "main..$head_commit" | grep "\.changelog/")
added_files=$(git diff --diff-filter=A --name-only "origin/main..$head_commit" | grep "\.changelog/")

relevant_files=$(echo "$added_files" | grep -E "\.changelog/unreleased/($subfolder_pattern)/")

Expand Down

0 comments on commit d1dfee9

Please sign in to comment.