From 9d4973bf5cf22b9d467ef9b65b998b6ff293a771 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Wed, 19 Oct 2022 13:18:10 -0400 Subject: [PATCH] 9th attempt Signed-off-by: Sebastian Malton --- .github/workflows/require-milestone.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/require-milestone.yml b/.github/workflows/require-milestone.yml index cf4d51e5d9..0c1a2e9db6 100644 --- a/.github/workflows/require-milestone.yml +++ b/.github/workflows/require-milestone.yml @@ -6,12 +6,10 @@ jobs: milestone: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2.5 - name: Require Milestone run: | - MILESTONE=$(echo "${{ toJson(github.event.pull_request) }}" | jq '.milestone' --raw-output) - echo "${MILESTONE}" + echo "${{ toJson(github.event.pull_request) }}" + echo "${{ toJson(github.event.pull_request) }}" | jq '.milestone' --raw-output - if [ "${MILESTONE}" == "null" ]; then - exit 1 - fi + exit 1