From 77972930995226e4373190e7ab1d3b3694de5fa7 Mon Sep 17 00:00:00 2001 From: Miguel Prieto Date: Wed, 4 Dec 2024 18:47:31 -0300 Subject: [PATCH] Adjust GitHub Workflow to avoid running jobs twice on PR --- .github/workflows/pull_request.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 9ce8a6ee..bb0eed77 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -1,6 +1,13 @@ name: CI Build -on: [push, pull_request,workflow_dispatch] +on: + push: + branches: + - main + pull_request: + branches: + - main + workflow_dispatch: jobs: lint: