Skip to content

Commit 545a0d2

Browse files
committed
fix magic url commit sha
1 parent a35c5c8 commit 545a0d2

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

  • .github/actions/frontend/runtime/magic_url

.github/actions/frontend/runtime/magic_url/action.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ runs:
2828
echo "github_token=${{ inputs.github_token }}"
2929
echo "migration=${{ inputs.migration_number }}"
3030
echo "magic_url_route=${{ inputs.magic_url_route }}"
31+
echo "github.sha=${{ github.sha }}"
32+
echo "github.event.pull_request.head.sha=${{ github.event.pull_request.head.sha }}"
3133
- name: configure_aws_credentials
3234
uses: aws-actions/configure-aws-credentials@v4
3335
with:
@@ -41,13 +43,10 @@ runs:
4143
# This bucket file location is static and editing it will break the Magic URL. This pushes the entire directory which includes the bundle and remote types if applicable
4244
run: |
4345
aws s3 sync deploy/dist s3://apps.dev.jupiterone.io/static/manual-deploy/${{ github.event.repository.name }}@${{ inputs.migration_number }}/PR-${{ inputs.pr_number }}/
44-
- name: get_branch_of_pr
45-
id: get_branch_of_pr
46-
uses: xt0rted/pull-request-comment-branch@v2
4746
- name: show_magic_url_in_pr
4847
uses: myrotvorets/set-commit-status-action@v2.0.0
4948
with:
50-
sha: ${{ steps.get_branch_of_pr.outputs.head_sha }}
49+
sha: ${{ github.sha }}
5150
token: ${{ inputs.github_token }}
5251
status: success
5352
context: 'Magic URL'

0 commit comments

Comments
 (0)