diff --git a/.github/workflows/wipcheck.yml b/.github/workflows/wipcheck.yml index 6ab31b2..57243d7 100644 --- a/.github/workflows/wipcheck.yml +++ b/.github/workflows/wipcheck.yml @@ -14,7 +14,9 @@ jobs: steps: - name: Fail build if pull request title contains [WIP] + env: + TITLE: ${{ github.event.pull_request.title }} if: ${{ contains(github.event.pull_request.title, '[WIP]') }} # This function is case insensitive. run: | - echo Warning! PR title "${{ github.event.pull_request.title }}" contains [WIP]. Remove [WIP] from the title when PR is ready. + echo Warning! PR title "$TITLE" contains [WIP]. Remove [WIP] from the title when PR is ready. exit 1 diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 1471176..1c62460 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,7 +1,7 @@ - 3.1.0-preview + 3.1.1-preview latest Joe McBride MIT