From 2582d3a2b9974108ac22bea116a207f5743a5715 Mon Sep 17 00:00:00 2001 From: Stephen Carter Date: Wed, 15 May 2024 17:13:46 -0400 Subject: [PATCH] Update validate-pr to not rerun tests on simple PR edits --- .github/workflows/verify-pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/verify-pr.yml b/.github/workflows/verify-pr.yml index c6e720e5..8f7014e7 100644 --- a/.github/workflows/verify-pr.yml +++ b/.github/workflows/verify-pr.yml @@ -5,6 +5,7 @@ on: jobs: validate_pr_title: + if: github.base_ref == 'dev' && github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'edited' runs-on: ubuntu-latest steps: - name: Validate PR Title @@ -18,6 +19,7 @@ jobs: exit 1 fi run_tests: + if: github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' runs-on: ${{ matrix.os }} strategy: matrix: