From 0afb493601452b914bf6a6354a29b61086107dd2 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/actions/hybrid_branch_deploy/action.yml b/actions/hybrid_branch_deploy/action.yml index 40f098d..fc29658 100644 --- a/actions/hybrid_branch_deploy/action.yml +++ b/actions/hybrid_branch_deploy/action.yml @@ -28,6 +28,7 @@ runs: uses: actions/checkout@v3 with: ref: ${{ github.sha }} + fetch-depth: 100 - name: Checkout action repo uses: actions/checkout@v3 @@ -85,7 +86,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.event.pull_request.head.sha }} + shell: bash - uses: actions/github-script@v7 id: get_prs @@ -110,6 +112,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