From e5e4f85cc0909e7b9ccb3802219c207af6e5fbcb Mon Sep 17 00:00:00 2001 From: Piyush Udhao Date: Tue, 17 Sep 2024 21:13:05 +0530 Subject: [PATCH] changed github actions to only build the application for every commit on every branch except main --- .github/workflows/test_build_on_push_pr.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_build_on_push_pr.yml b/.github/workflows/test_build_on_push_pr.yml index e51b151..48accb3 100644 --- a/.github/workflows/test_build_on_push_pr.yml +++ b/.github/workflows/test_build_on_push_pr.yml @@ -2,9 +2,13 @@ name: "test-build-on-push-and-pr" on: push: - branches: - - '**' # This makes the workflow run on pushes to any branch. + branches-ignore: + - 'main' pull_request: + branches-ignore: + - 'main' + branches: + - '**' # This makes the workflow run on pushes to any branch. # This workflow will build your Tauri app without uploading it anywhere.