From 39d07cb977a7679d199264db3240d0777ff3f974 Mon Sep 17 00:00:00 2001 From: Marcelo Jacobus Date: Wed, 8 Dec 2021 14:13:46 -0300 Subject: [PATCH] Restrict workflow to docs-internal (#23489) Closes https://github.com/github/docs-engineering/issues/1340 --- .github/workflows/create-translation-batch-pr.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/create-translation-batch-pr.yml b/.github/workflows/create-translation-batch-pr.yml index dbf5e712e0..136dab77ec 100644 --- a/.github/workflows/create-translation-batch-pr.yml +++ b/.github/workflows/create-translation-batch-pr.yml @@ -16,6 +16,7 @@ on: jobs: create-translation-batch: name: Create translation batch + if: github.repository == 'github/docs-internal' runs-on: ubuntu-latest # A sync's average run time is ~3.2 hours. # This sets a maximum execution time of 300 minutes (5 hours) to prevent the workflow from running longer than necessary.