diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e6a23ece5a..2b22c96609 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -38,4 +38,14 @@ jobs: cat .gitmodules make build + - name: Clone wire-server and `make sanitize-pr` + # if this fails, you need to run it on your PR and commit the changes it makes. + run: | + CURRENT_REPO_URL="https://github.com/${GITHUB_REPOSITORY}.git" + BRANCH_NAME=${GITHUB_REF##*/} + + git clone --branch develop "$CURRENT_REPO_URL" wire-server -b "$BRANCH_NAME" + cd wire-server + make sanitize-pr + # tasks to update the submodule reference in wire-docs repo are yet to be added