Skip to content

Commit

Permalink
using HEAD and HEAD~1, but making sure to fetch-depth 2 commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Silverman committed Nov 13, 2024
1 parent 1007a81 commit 2b91b4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/push_to_ejam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ jobs:
steps:
- name: Checkout the code
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Check if Arrow files are modified
id: arrow_files_modified
run: |
# List modified files in the PR
modified_files=$(git diff --name-only HEAD~1 "$GITHUB_SHA")
modified_files=$(git diff --name-only HEAD~1 HEAD)
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 2b91b4e

Please sign in to comment.