From a243155abf8b546bf0b3a974bd66985ed5b8df58 Mon Sep 17 00:00:00 2001 From: Mathias Kraus Date: Wed, 20 Nov 2024 01:53:14 +0100 Subject: [PATCH] [#3] test --- .github/workflows/build-test.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 672fd0659..61e00d8cd 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -10,11 +10,20 @@ on: # RUSTFLAGS: "-C debug-assertions" jobs: - foo: + check_wip_pr: + runs-on: ubuntu-latest + outputs: + is_wip_pr: ${{ steps.title_has_wip_marker.outcome }}" != "skipped" + steps: + - name: Title has WIP Marker + id: title_has_wip_marker + if: startsWith(github.event.pull_request.title, '[WIP]') + run: echo "WIP PR -> Skipping CI" jobs: changes: - if: !startsWith(github.event.pull_request.title, '[WIP]') + needs: check_wip_pr + if: ${{ needs.check_wip_pr.outputs.is_wip_pr != 'true' }} runs-on: ubuntu-latest permissions: pull-requests: read