diff --git a/.github/workflows/test_pr_and_main.yml b/.github/workflows/test_pr_and_main.yml index e201d48dee8..242aae3ba76 100644 --- a/.github/workflows/test_pr_and_main.yml +++ b/.github/workflows/test_pr_and_main.yml @@ -40,7 +40,7 @@ jobs: name: lint/style-and-typos runs-on: ubuntu-latest if: | - ${{ !github.event.pull_request.draft && !startsWith(github.event.pull_request.title, '[WIP]') }} + !contains('["WIP"]', github.event.pull_request.title) && !github.event.pull_request.draft steps: - name: Checkout Pyomo source uses: actions/checkout@v4