We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab1b78d commit 9f9180cCopy full SHA for 9f9180c
.github/workflows/update-leetcode-grid.yml
@@ -35,7 +35,9 @@ jobs:
35
- name: Check for Solutions/ changes since last run
36
id: changes
37
run: |
38
- git fetch origin ${{ github.ref_name }}
+ # Fetch enough history to include the last commit
39
+ git fetch --depth=100 origin ${{ github.ref_name }}
40
+
41
if [ -n "${{ steps.last_commit.outputs.last }}" ]; then
42
echo "Comparing from ${{ steps.last_commit.outputs.last }} to HEAD"
43
git diff --name-only ${{ steps.last_commit.outputs.last }}..HEAD > files.txt
0 commit comments