See if prepending "refs/remotes/origin/" helps

This commit is contained in:
Athanasius committed 2020-07-28 15:35:34 +01:00
1 parent be98212f8b
commit cabaf2c637
1 file changed
+2 -2
+2 -2
View File
@@ -52,6 +52,6 @@ jobs:
git log | head -100
git diff
# stop the build if there are Python syntax errors or undefined names, ignore existing
git diff "${BASE_REF}" -- | flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --diff
git diff "refs/remotes/origin/${BASE_REF}" -- | flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --diff
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
git diff "${BASE_REF}" -- | flake8 . --count --exit-zero --statistics --diff
git diff "refs/remotes/origin/${BASE_REF}" -- | flake8 . --count --exit-zero --statistics --diff