From 219b2354a3c9efe3d0a6036059422a9ad4afd94b Mon Sep 17 00:00:00 2001 From: Ivan Maximov Date: Wed, 2 Dec 2020 00:15:42 +0300 Subject: [PATCH] GitHub Security Lab (GHSL) Vulnerability Report: GHSL-2020-231 --- .github/workflows/wipcheck.yml | 4 +++- src/Directory.Build.props | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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