From b9e23ba34e8fce799244dfa41d78f507fec8e966 Mon Sep 17 00:00:00 2001 From: Dawson <30784509+funkemunky@users.noreply.github.com> Date: Mon, 30 Oct 2023 10:26:26 -0400 Subject: [PATCH] Updating to only run on commits and pull requests to main --- .github/workflows/maven.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index b63af6a..df150ff 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,10 +1,8 @@ on: push: - branches: ["**"] + branches: [main] pull_request: - types: - - opened - - synchronize + branches: [main] jobs: build: @@ -30,4 +28,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: AntiVPN - path: Assembly/target/Assembly-*.jar \ No newline at end of file + path: Assembly/target/Assembly-*.jar