Skip to content

Commit fb0443d

Browse files
Merge pull request #598 from balakrishna-deriv/fix-ga-vulnerability
Bala/Fix head sha in workflow
2 parents 6df718f + 94a3fd8 commit fb0443d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/generate_preview_link.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
uses: "deriv-com/shared-actions/.github/actions/post_preview_build_comment@v1"
3030
with:
3131
issue_number: ${{github.event.number}}
32-
head_sha: ${{github.event.workflow_run.head_sha}}
32+
head_sha: ${{github.event.pull_request.head.sha}}
3333

3434
- name: Checkout
3535
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
3636
with:
37-
ref: ${{ github.event.workflow_run.head_sha }}
37+
ref: ${{github.event.pull_request.head.sha}}
3838

3939
- name: Setup Node
4040
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e

0 commit comments

Comments
 (0)