Skip to content

Commit

Permalink
[CI] Add suggestion from elastic#189316 (elastic#189765)
Browse files Browse the repository at this point in the history
This was just a suggested change from elastic#189316 which didn't get addressed
because of auto merge.

(cherry picked from commit f941ba4)
  • Loading branch information
Ikuni17 committed Aug 2, 2024
1 parent ca3c1db commit 2087ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/scripts/common/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ check_for_changed_files() {
GIT_CHANGES="$(git ls-files --modified -- . ':!:.bazelrc')"

if [ "$GIT_CHANGES" ]; then
if [[ "$SHOULD_AUTO_COMMIT_CHANGES" == "true" && "${BUILDKITE_PULL_REQUEST:-}" ]]; then
if [[ "$SHOULD_AUTO_COMMIT_CHANGES" == "true" && "${BUILDKITE_PULL_REQUEST:-false}" != "false" ]]; then
NEW_COMMIT_MESSAGE="[CI] Auto-commit changed files from '$1'"
PREVIOUS_COMMIT_MESSAGE="$(git log -1 --pretty=%B)"

Expand Down

0 comments on commit 2087ccc

Please sign in to comment.