Skip to content

Commit

Permalink
fix(IDX): run all bazel targets on changes to mainnet-canisters.json (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
basvandijk authored Dec 17, 2024
1 parent 16c7cdb commit c024027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/bazel-scripts/diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ MERGE_BASE="${MERGE_BASE_SHA:-HEAD}"
COMMIT_RANGE="$MERGE_BASE..${BRANCH_HEAD_SHA:-}"
DIFF_FILES=$(git diff --name-only "${COMMIT_RANGE}")

if grep -qE "(.*\.bazel|.*\.bzl|\.bazelrc|\.bazelversion)" <<<"$DIFF_FILES"; then
if grep -qE "(.*\.bazel|.*\.bzl|\.bazelrc|\.bazelversion|mainnet-canisters\.json)" <<<"$DIFF_FILES"; then
echo "Changes detected in bazel files. Considering all targets." >&2
echo ${BAZEL_TARGETS:-"//..."}
exit 0
Expand Down

0 comments on commit c024027

Please sign in to comment.