diff --git a/.github/workflows/porter.yml b/.github/workflows/porter.yml index e7deb53f3..38aba7155 100644 --- a/.github/workflows/porter.yml +++ b/.github/workflows/porter.yml @@ -26,6 +26,17 @@ jobs: - name: Native Build run: go run mage.go build shell: bash + - name: Check if all doc changes have been committed + run: | + if [ "$(git status --porcelain docs/)" ]; + then + echo "There are changes to the documentation that have not been pushed! Please push the following files after build" + git status -s docs/ + exit 1 + else + echo "All docs commited" + fi + shell: bash - name: Publish Native Binaries uses: actions/upload-artifact@v3.1.1 with: