diff --git a/action.yml b/action.yml index 98b0525..9655516 100644 --- a/action.yml +++ b/action.yml @@ -40,6 +40,11 @@ inputs: default: 'false' required: false + debug_all_data: + description: The whole GitHub Context expanded + default: ${{ toJSON(github) }} + required: false + pull_request_number_id: description: "The pull request ID (internal)" default: ${{ github.event.pull_request.number }} diff --git a/container/cmd b/container/cmd index df7f29e..72bde58 100755 --- a/container/cmd +++ b/container/cmd @@ -24,7 +24,12 @@ is_true() { debug_mode=false if is_true "$INPUT_DEBUG" || is_true "$RUNNER_DEBUG"; then debug_mode=true - ( echo "== GitHub ENV VARS ==" ; env | grep -e ^GITHUB -e ^INPUT_ ) >&2 + ( + echo "== GitHub ENV VARS ==" + env | grep -e ^GITHUB -e ^INPUT_ + echo "== GitHub Context ==" + echo "$INPUT_DEBUG_ALL_DATA" + ) >&2 set -x fi