From 5eb8e33b75145a6ea594bb3d3fc2e09c4e4f2856 Mon Sep 17 00:00:00 2001
From: David Finol <davidmfinol@gmail.com>
Date: Fri, 13 May 2022 12:45:59 -0500
Subject: [PATCH] Ignore push on main branch

Ignore push on main branch, since the pull request should have already tested that change.
Continue to run on pushes to all other branches.
---
 .github/workflows/main.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 1c010d1..79edcfc 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -2,7 +2,9 @@ name: Unity Actions
 
 on:
   pull_request: {}
-  push: {}
+  push:
+    branches-ignore:
+      - main
 
 env:
   UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}