From 26967959e26680f244fc16f30c098404a7509e06 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 30 Apr 2023 02:53:01 +0200 Subject: [PATCH] ci: only dispatch documentation update event if on branch `main` --- .github/workflows/update-documentation.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-documentation.yml b/.github/workflows/update-documentation.yml index aa0ed1b..77097e2 100644 --- a/.github/workflows/update-documentation.yml +++ b/.github/workflows/update-documentation.yml @@ -9,6 +9,7 @@ jobs: trigger: runs-on: ubuntu-latest name: Dispatch event to documentation repository + if: github.ref == 'refs/heads/main' steps: - uses: peter-evans/repository-dispatch@v2 with: