From 1ec70b153b2c9af9b1a9b0b09e9c4aded0ca3cc6 Mon Sep 17 00:00:00 2001 From: Christof Laenzlinger <6319634+laenzlinger@users.noreply.github.com> Date: Mon, 1 Apr 2024 12:30:55 +0200 Subject: [PATCH] Only run workflow when a PR is created --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 476789b..b2f67af 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -5,7 +5,7 @@ name: Go on: push: - branches: [ "*" ] + branches: [ "main" ] pull_request: branches: [ "main" ]