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 2c9c8a3 commit 7c5303bCopy full SHA for 7c5303b
.github/workflows/pythonpackage.yml
@@ -12,7 +12,9 @@ jobs:
12
python-version: [3.6, 3.7, 3.8]
13
14
steps:
15
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
16
+ - run: |
17
+ git fetch --prune --unshallow
18
- name: Set up Python ${{ matrix.python-version }}
19
uses: actions/setup-python@v1
20
with:
scripts/test
@@ -11,4 +11,10 @@ ${PREFIX}isort --recursive --check-only commitizen tests
11
${PREFIX}flake8 commitizen/ tests/
${PREFIX}mypy commitizen/ tests/
${PREFIX}pydocstyle --convention=google --add-ignore=D1,D415
-${PREFIX}commitizen check --rev-range master..
+
+${PREFIX}commitizen check --rev-range master..HEAD || \
+if [ $$? == 3 ] ; then
+ exit 0;
+else
+ exit 1;
+fi
0 commit comments