Skip to content

Commit

Permalink
Try using contains
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmundt committed Apr 2, 2024
1 parent 4d5cefd commit 830b655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_pr_and_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
name: lint/style-and-typos
runs-on: ubuntu-latest
if: |
${{ ! github.event.pull_request.draft &&
github.event.pull_request.title != "*WIP*" }}
${{ !github.event.pull_request.draft }} &&
contains(github.event.pull_request.title, 'WIP')
steps:
- name: Checkout Pyomo source
uses: actions/checkout@v4
Expand Down

0 comments on commit 830b655

Please sign in to comment.