From fd7c9248bda2ce5f86604a54ee7c223025b6d80f Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 20 Aug 2024 13:43:23 +0800 Subject: [PATCH] Make workflow run more specifically --- .github/workflows/update-catalogs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/update-catalogs.yml b/.github/workflows/update-catalogs.yml index 934fab226..fa9a9cd1f 100644 --- a/.github/workflows/update-catalogs.yml +++ b/.github/workflows/update-catalogs.yml @@ -4,10 +4,13 @@ on: pull_request: types: - closed + branches: + - l10n_main workflow_dispatch: jobs: update-catalogs: + if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: - uses: actions/checkout@v4