Skip to content

Commit 63ff605

Browse files
committed
simpler diff
1 parent 99e4b3b commit 63ff605

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/update-python.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: |
4848
git config --local user.email "action@github.com"
4949
git config --local user.name "GitHub Action"
50-
if git diff --quiet origin/main..; then
50+
if git diff --quiet; then
5151
echo "new_commits=false" >> $GITHUB_ENV
5252
exit 0
5353
else
@@ -104,7 +104,7 @@ jobs:
104104
run: |
105105
git config --local user.email "action@github.com"
106106
git config --local user.name "GitHub Action"
107-
if git diff --quiet origin/main..; then
107+
if git diff --quiet; then
108108
echo "new_commits=false" >> $GITHUB_ENV
109109
exit 0
110110
else
@@ -154,7 +154,7 @@ jobs:
154154
run: |
155155
git config --local user.email "action@github.com"
156156
git config --local user.name "GitHub Action"
157-
if git diff --quiet origin/main..; then
157+
if git diff --quiet; then
158158
echo "new_commits=false" >> $GITHUB_ENV
159159
exit 0
160160
else

0 commit comments

Comments
 (0)