From d02ef6a1c37ae09879c646599480db0384add17e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benoi=CC=82t=20Rouleau?= Date: Fri, 28 Jan 2022 11:14:29 -0500 Subject: [PATCH 1/4] Do not run "Pull Request CI/CD" in Crowdin PRs --- .github/workflows/ci-cd-pull-request.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-cd-pull-request.yml b/.github/workflows/ci-cd-pull-request.yml index 13087055dedc..53c2a404c460 100644 --- a/.github/workflows/ci-cd-pull-request.yml +++ b/.github/workflows/ci-cd-pull-request.yml @@ -7,6 +7,7 @@ env: NEXT_PUBLIC_BASE_PATH: /docs jobs: + if: "!contains(github.head_ref, 'crowdin')" build: runs-on: ubuntu-latest steps: From 0bbfd2fa76e331fe16275339f183bc2f0819673f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benoi=CC=82t=20Rouleau?= Date: Fri, 28 Jan 2022 11:23:51 -0500 Subject: [PATCH 2/4] Fix syntax --- .github/workflows/ci-cd-pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd-pull-request.yml b/.github/workflows/ci-cd-pull-request.yml index 53c2a404c460..39f4c663a1ed 100644 --- a/.github/workflows/ci-cd-pull-request.yml +++ b/.github/workflows/ci-cd-pull-request.yml @@ -7,7 +7,7 @@ env: NEXT_PUBLIC_BASE_PATH: /docs jobs: - if: "!contains(github.head_ref, 'crowdin')" + if: contains(github.head_ref, 'crowdin') == false build: runs-on: ubuntu-latest steps: From 940a717d951e436a65ac39bb9a78da56c198aecf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benoi=CC=82t=20Rouleau?= Date: Fri, 28 Jan 2022 11:26:15 -0500 Subject: [PATCH 3/4] Fix? --- .github/workflows/ci-cd-pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd-pull-request.yml b/.github/workflows/ci-cd-pull-request.yml index 39f4c663a1ed..6453c8800771 100644 --- a/.github/workflows/ci-cd-pull-request.yml +++ b/.github/workflows/ci-cd-pull-request.yml @@ -7,7 +7,7 @@ env: NEXT_PUBLIC_BASE_PATH: /docs jobs: - if: contains(github.head_ref, 'crowdin') == false + if: contains(github.event.pull_request.head.ref, 'crowdin') == false build: runs-on: ubuntu-latest steps: From 4a62fff95412cbb150598c4c8e4628bd86856226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benoi=CC=82t=20Rouleau?= Date: Fri, 28 Jan 2022 11:33:21 -0500 Subject: [PATCH 4/4] Fix... --- .github/workflows/ci-cd-pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd-pull-request.yml b/.github/workflows/ci-cd-pull-request.yml index 6453c8800771..ff6e64c6916a 100644 --- a/.github/workflows/ci-cd-pull-request.yml +++ b/.github/workflows/ci-cd-pull-request.yml @@ -7,8 +7,8 @@ env: NEXT_PUBLIC_BASE_PATH: /docs jobs: - if: contains(github.event.pull_request.head.ref, 'crowdin') == false build: + if: contains(github.head_ref, 'crowdin') == false runs-on: ubuntu-latest steps: - name: Checkout the repo