Skip to content

Commit

Permalink
Merge pull request deriv-com#598 from balakrishna-deriv/fix-ga-vulner…
Browse files Browse the repository at this point in the history
…ability

Bala/Fix head sha in workflow
  • Loading branch information
balakrishna-deriv authored Jan 29, 2024
2 parents 6df718f + 94a3fd8 commit fb0443d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate_preview_link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
uses: "deriv-com/shared-actions/.github/actions/post_preview_build_comment@v1"
with:
issue_number: ${{github.event.number}}
head_sha: ${{github.event.workflow_run.head_sha}}
head_sha: ${{github.event.pull_request.head.sha}}

- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
ref: ${{ github.event.workflow_run.head_sha }}
ref: ${{github.event.pull_request.head.sha}}

- name: Setup Node
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e
Expand Down

0 comments on commit fb0443d

Please sign in to comment.