diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 26dfd683..4af32dc2 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -10,7 +10,20 @@ on: # RUSTFLAGS: "-C debug-assertions" jobs: + check_wip_pr: + runs-on: ubuntu-latest + steps: + - name : Print Title of PR + run: echo The Title of your PR is ${{ github.event.pull_request.title }} + + - name: Check for WIP Marker + if: startsWith(github.event.pull_request.title, '[WIP]') + run: | + echo "PR is work in progress -> Aborting CI" + exit 1 + changes: + needs: check_wip_pr runs-on: ubuntu-latest permissions: pull-requests: read