From 3691ff64b04da36aff1fdae56fab69c8d5f10c63 Mon Sep 17 00:00:00 2001 From: benpankow Date: Wed, 10 Jul 2024 12:56:39 -0700 Subject: [PATCH] shell --- actions/hybrid_branch_deploy/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/actions/hybrid_branch_deploy/action.yml b/actions/hybrid_branch_deploy/action.yml index 40f098d..7f11d0e 100644 --- a/actions/hybrid_branch_deploy/action.yml +++ b/actions/hybrid_branch_deploy/action.yml @@ -85,7 +85,8 @@ runs: - name: Get git sha id: get_shas - run: git rev-list --ancestry-path cd2a864d09faa69900bff468f0f78d7e630ff87b..${{ github.sha }} + run: git rev-list --ancestry-path cd2a864d09faa69900bff468f0f78d7e630ff87b..${{ github.action_ref || github.head_ref }} + shell: bash - uses: actions/github-script@v7 id: get_prs @@ -110,6 +111,7 @@ runs: - name: Print PRs run: echo "${{ steps.get_prs.outputs.result }}" + shell: bash # Optional steps, leaves PR comment about build status - name: Notify build success