From 737dbe81b71846dd963fcf028ed575856ef52d1a Mon Sep 17 00:00:00 2001 From: Pasquale Salza Date: Fri, 20 Dec 2024 17:17:05 +0100 Subject: [PATCH] Simplify action.yml by removing BASE branch reference and updating HEAD branch reference command --- action.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/action.yml b/action.yml index 17d1fc6..e2c7747 100644 --- a/action.yml +++ b/action.yml @@ -93,9 +93,4 @@ runs: - name: "Show HEAD branch reference" shell: bash - run: git show-ref ${{ inputs.head-branch }} - - - name: "Show BASE branch reference" - if: ${{ inputs.head-only == 'false' }} - shell: bash - run: git show-ref ${{ inputs.base-branch }} + run: git show-ref HEAD