瀏覽代碼

fix: e2e tests, keep event check, remove contains

Lucas Severo Alves 4 年之前
父節點
當前提交
cd8feeaec1
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .github/workflows/e2e.yml

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

@@ -89,8 +89,8 @@ jobs:
   integration-fork:
     runs-on: ubuntu-latest
     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:
 
     # Check out merge commit