Skip to content

Commit

Permalink
shell
Browse files Browse the repository at this point in the history
  • Loading branch information
benpankow committed Jul 10, 2024
1 parent 59178b5 commit 0afb493
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion actions/hybrid_branch_deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ runs:
uses: actions/checkout@v3
with:
ref: ${{ github.sha }}
fetch-depth: 100

- name: Checkout action repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0afb493

Please sign in to comment.