@@ -194,6 +194,10 @@ jobs:
isCompactMode: true
url: ${{ secrets.SLACK_WEBHOOK_URL }}
+ - name: Check whether workspace is clean
+ run: |
+ STATUS=`git status --porcelain`
+ if [ -z "$STATUS" ]; then exit 0; else exit 1; fi
build-prod:
runs-on: ubuntu-latest