Enable build workflow for pull requests (#394)

Restrict build triggers to only the main branch.
This commit is contained in:
SF-Zhou
2026-01-24 20:48:44 +08:00
committed by GitHub
parent c79633a250
commit ebbd02f144
+3 -1
View File
@@ -2,7 +2,9 @@ name: Build
on:
push:
branches: [ "main", "dev" ]
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build: