Skip to content

Commit

Permalink
Update validate-pr to not rerun tests on simple PR edits
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-carter-at-sf committed May 15, 2024
1 parent a9ea81b commit 2582d3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/verify-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 2582d3a

Please sign in to comment.