Skip to content

Commit

Permalink
changing back e2ev2 Ensure ref job if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
mchinta7 committed Jan 17, 2024
1 parent 3f45007 commit 058fee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2ev2-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Ensure ref
uses: actions/github-script@v6
if: ${{ inputs.skipRefCheck }}
if: ${{ !((github.event_name == 'repository_dispatch' && github.event.client_payload.slash_command.args.named.sha != '' && contains(github.event.client_payload.pull_request.head.sha, github.event.client_payload.slash_command.args.named.sha)) || inputs.skipRefCheck) }}
with:
script: core.setFailed('Ref is not latest')
test:
Expand Down

0 comments on commit 058fee5

Please sign in to comment.