From d5e8ef5f2e532a3a364f4d517268d69bf7d00ed9 Mon Sep 17 00:00:00 2001 From: Marcos Pereira Date: Wed, 4 Dec 2024 23:39:32 -0500 Subject: [PATCH] ci: only execute for pushes to the main branch --- .github/workflows/maven.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 687cdb8e..b41fa70c 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -9,6 +9,8 @@ on: - 'docs/**' - 'mkdocs.yml' push: + branches: + - main jobs: # From https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions#example-returning-a-json-object