Skip to content

Commit

Permalink
[#3] test
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Nov 20, 2024
1 parent d3e389a commit a243155
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a243155

Please sign in to comment.