fix: specify target branch for push events in workflow configurations

This commit is contained in:
GitHub Actions
2026-02-19 01:24:21 +00:00
parent 979e464b0c
commit 813236e017
4 changed files with 8 additions and 0 deletions

View File

@@ -11,6 +11,8 @@ on:
type: string
pull_request:
push:
branches:
- main
# Prevent race conditions when PR is updated mid-test
# Cancels old test runs when new build completes with different SHA