From 2e06b879f74b6ed119a15634a88ad330a138b09e Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Wed, 28 Aug 2024 14:30:37 -0500 Subject: [PATCH] CLDR-17803 docs/site: fix merge to main - only update PR if there's a PR --- .github/workflows/site.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 9336826c687..87f2021f978 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -48,6 +48,7 @@ jobs: command: pages deploy ./_site --project-name=cldr - name: Add deploy comment to PR uses: actions/github-script@v7 + if: github.event_name == 'pull_request' with: script: | github.rest.issues.createComment({