From f9f75986a2a1e50be7a64a067edee7ae9ea64437 Mon Sep 17 00:00:00 2001 From: Aleksandr Mezin Date: Sat, 16 Aug 2025 07:43:07 +0300 Subject: [PATCH] Show a warning about missing `jq` when triggered by a pull request --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index 75329a8..1dc402d 100644 --- a/action.yml +++ b/action.yml @@ -48,6 +48,11 @@ runs: esac echo "$folder" >> $GITHUB_PATH shell: bash + - if: ${{ github.event_name == 'pull_request' }} + run: command -V jq || echo "::warning::$WARNING" + shell: bash + env: + WARNING: 'To be able to properly obtain the originating PR-number, Testspace requires the jq utility to be installed on your OS image (named jq/jq.exe and on the system PATH)' - run: | testspace --version domain=${{ inputs.domain }}