From 3363e54c9b28b1d289e8d089875d2c46025eaa81 Mon Sep 17 00:00:00 2001 From: Seren_Modz 21 Date: Sun, 23 Jun 2024 02:31:01 +0100 Subject: [PATCH] ci: only run push when on main branch Signed-off-by: Seren_Modz 21 --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 41dd454..4f62ddb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,10 @@ name: Build Project -on: [push, pull_request] +on: + pull_request: + push: + branches: + - main jobs: build: