From 163699f12b5e07bf4c8266be9b75dbd1d7d25fe5 Mon Sep 17 00:00:00 2001 From: JP-Ellis Date: Thu, 9 Jan 2025 10:17:31 +1100 Subject: [PATCH] chore(ci): prevent duplicate ci triggers Triggering on all 'push' and 'pull_request' events will result in duplicated CI runs in PRs (due to both conditions being met). Instead, trigger only on pushes to `master`, or updates to PRs targetting `master`. Signed-off-by: JP-Ellis --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 377702a13..750b78839 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,11 @@ name: Test on: push: + branches: + - master pull_request: + branches: + - master workflow_dispatch: permissions: