Skip to content

Commit

Permalink
going back to using merge-base to get at base_commit and changing arr…
Browse files Browse the repository at this point in the history
…ow to be accurately detected change
  • Loading branch information
Alex Silverman committed Nov 13, 2024
1 parent 47638cd commit 1976f3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push_to_ejam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
id: arrow_files_modified
run: |
# List modified files in the PR
echo "Base commit: $GITHUB_REF"
base_commit=$(git merge-base "$GITHUB_SHA" main)
echo "Current HEAD commit: $GITHUB_SHA"
modified_files=$(git diff --name-only "$GITHUB_REF" "$GITHUB_SHA")
modified_files=$(git diff --name-only "$base_commit" "$GITHUB_SHA")
echo "Modified files: $modified_files"
# Check if any Arrow files were modified (based on their file extension or path)
Expand Down
2 changes: 1 addition & 1 deletion data/blockpoints.arrow
Git LFS file not shown

0 comments on commit 1976f3b

Please sign in to comment.