Skip to content

Commit

Permalink
RefTest
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Jan 23, 2024
1 parent a01be16 commit 42ad1f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions:

env:
# For PRs and MergeQueues, the target commit is used, and for push events, github.event.previous is used.
targetHash: ${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha || github.event.before }}
targetHash: ${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha || (github.event.before == '0000000000000000000000000000000000000000' && 'develop' || github.event.before) }}

jobs:
cache:
Expand All @@ -31,6 +31,7 @@ jobs:
with:
node-version: 18.x
- run: |
echo '${{ env.targetHash }}'
echo '${{ toJson(github.event) }}'
- name: Cache snapshots
id: cache-snapshot
Expand Down

0 comments on commit 42ad1f4

Please sign in to comment.