Browse Source

fix: e2e tests, keep event check, remove contains

Lucas Severo Alves 4 years ago
parent
commit
cd8feeaec1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/e2e.yml

+ 2 - 2
.github/workflows/e2e.yml

@@ -89,8 +89,8 @@ jobs:
   integration-fork:
   integration-fork:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     if:
     if:
-      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)
+      github.event_name = 'repository_dispatch' &&
+      github.event.client_payload.slash_command.args.named.sha != ''
     steps:
     steps:
 
 
     # Check out merge commit
     # Check out merge commit