From db3d0eee45bf1faa3daa4d491608cc91ddc4db99 Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Date: Sat, 10 May 2025 19:58:48 -0300 Subject: [PATCH] Adds PRs to the Test Execution GithubAction --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e225f5b..86d7e3b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,10 @@ name: Test and Publish on: - push + push: + pull_request: + branches: + - main permissions: contents: read @@ -11,6 +14,8 @@ jobs: test: name: run-tests runs-on: ubuntu-latest + if: github.event_name != 'pull_request' || + github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name strategy: matrix: python-version: