Skip to content

Commit

Permalink
Update the check_for_changes job in CI (#1140)
Browse files Browse the repository at this point in the history
* Detect changes from the main branch
  • Loading branch information
cswartzvi authored Sep 14, 2024
1 parent d878595 commit 92643da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Check for changes in specific paths
command: |
set +e
git diff --name-only HEAD^ HEAD | grep '^.ci\|^.circleci\|^graph_adapter_tests\|^hamilton\|^plugin_tests\|^tests\|^requirements\|setup' > /dev/null
git diff --name-only origin/main...HEAD | grep '^.ci\|^.circleci\|^graph_adapter_tests\|^hamilton\|^plugin_tests\|^tests\|^requirements\|setup' > /dev/null
if [ $? -eq 0 ]; then
echo "Changes found in target paths."
echo 'true' > /tmp/changes_detected
Expand Down

0 comments on commit 92643da

Please sign in to comment.