From 9162d9050476dc4d13c43999664fd109516bba64 Mon Sep 17 00:00:00 2001 From: zomars Date: Thu, 14 Jul 2022 15:47:05 -0600 Subject: [PATCH] Restores old CI config --- .github/workflows/check-types.yml | 2 +- .github/workflows/e2e-embed.yml | 2 +- .github/workflows/e2e.yml | 2 +- .github/workflows/lint.yml | 4 ---- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-types.yml b/.github/workflows/check-types.yml index 411836ce38..edcfb3a671 100644 --- a/.github/workflows/check-types.yml +++ b/.github/workflows/check-types.yml @@ -1,6 +1,6 @@ name: Check types on: - pull_request: + pull_request_target: branches: - main paths: diff --git a/.github/workflows/e2e-embed.yml b/.github/workflows/e2e-embed.yml index f750851954..719a1e2b94 100644 --- a/.github/workflows/e2e-embed.yml +++ b/.github/workflows/e2e-embed.yml @@ -1,6 +1,6 @@ name: E2E Embed tests and booking flow(for non-embed as well) on: - pull_request: # So we can test on forks + pull_request_target: # So we can test on forks branches: - main # Embed e2e - tests verify booking flow which is applicable to non-embed case also. So, don't ignore apps/web changes. diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 7ed1aeda6a..0b702c2a6f 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,6 +1,6 @@ name: E2E test on: - pull_request: # So we can test on forks + pull_request_target: # So we can test on forks branches: - main paths: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1aeb730fac..f868fd30b7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,9 +1,5 @@ name: Lint on: - push: - paths: - - "**.tsx?" - - "**.jsx?" pull_request_target: branches: - main