diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index f10d9a2f7..24785e7e6 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -13,16 +13,14 @@ jobs: check_wip_pr: runs-on: ubuntu-latest steps: - - name: Title has WIP Marker - id: title_has_wip_marker + - name: Check for WIP Marker if: startsWith(github.event.pull_request.title, '[WIP]') - run: echo "WIP PR -> Skipping CI" - outputs: - is_wip_pr: ${{ steps.title_has_wip_marker.outcome }} == "success" + run: | + echo "WIP PR -> Aborting CI" + run: exit 1 changes: needs: check_wip_pr - if: ${{ needs.check_wip_pr.outputs.is_wip_pr == 'false' }} runs-on: ubuntu-latest permissions: pull-requests: read