From 0a76368e98dcc4d4961ed9554cab134a212a1ffa Mon Sep 17 00:00:00 2001 From: zomars Date: Thu, 12 Jan 2023 14:22:11 -0700 Subject: [PATCH] Run required checks from Crowin PRs --- .github/workflows/e2e-embed.yml | 3 +++ .github/workflows/e2e.yml | 5 +++-- .github/workflows/required-checks.yml | 5 +++-- .github/workflows/test.yml | 5 +++-- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e-embed.yml b/.github/workflows/e2e-embed.yml index ff3202776d..af646951c5 100644 --- a/.github/workflows/e2e-embed.yml +++ b/.github/workflows/e2e-embed.yml @@ -7,6 +7,9 @@ on: paths: - apps/web/** - packages/embeds/** + workflow_run: + workflows: [Crowdin Action] + types: [completed] concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 405ad6f381..038edfd60b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,13 +1,14 @@ name: E2E test on: - push: - branches: [fixes/e2e-consolidation] # TODO: Remove this after merged in main pull_request_target: # So we can test on forks branches: - main paths: - apps/web/** - packages/** + workflow_run: + workflows: [Crowdin Action] + types: [completed] concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true diff --git a/.github/workflows/required-checks.yml b/.github/workflows/required-checks.yml index 59988ef2ae..e3ec2a35aa 100644 --- a/.github/workflows/required-checks.yml +++ b/.github/workflows/required-checks.yml @@ -1,10 +1,11 @@ name: "Meta Workflow: Require Conditional Status Checks" on: - push: - branches: [fixes/e2e-consolidation] # TODO: Remove this after merged in main pull_request: branches: - main + workflow_run: + workflows: [Crowdin Action] + types: [completed] concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 20222979d5..bfdeac9b47 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,13 +1,14 @@ name: Unit tests on: - push: - branches: [ feat/routing-forms/reporting ] # TODO: Remove this after merged in main pull_request_target: # So we can test on forks branches: - main paths: - apps/web/** - packages/** + workflow_run: + workflows: [Crowdin Action] + types: [completed] concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true