From 72faeb5d9ffbebff0b704d53cb6123c87f65887f Mon Sep 17 00:00:00 2001 From: "Max P." Date: Sat, 14 Jun 2025 18:56:13 +0200 Subject: [PATCH] feat(action): add environment variables for version detection - Introduces environment variables to enhance version detection - Ensures compatibility with GitHub event context and references --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index 8b34b68..419bf28 100644 --- a/action.yml +++ b/action.yml @@ -21,6 +21,10 @@ runs: - name: Detect version change shell: bash id: detect + env: + GITHUB_EVENT_BEFORE: ${{ github.event.before || '' }} + GITHUB_SHA: ${{ github.sha || '' }} + GITHUB_REF: ${{ github.ref || '' }} run: | bash ${{ github.action_path }}/scripts/detect-version-change.sh