From 271df90babd6880dad2d7f37b62f417d83187be7 Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Wed, 10 Feb 2021 19:33:09 -0600 Subject: [PATCH] Correctly prevent the Docker build workflow from executing on CrowdIn PRs (#17795) --- .github/workflows/build-docker-image.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index 7d0a44c3e7..dda06fef44 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -7,14 +7,15 @@ on: branches: - main pull_request: - branches-ignore: - - translations env: CI: true jobs: build: + # Do not run this job for translations PRs + if: ${{ github.ref != 'refs/heads/translations' }} + runs-on: ubuntu-latest steps: - name: Check out repo