Stop building both branch & PR with pushes

Build pushes to the main branch and open PRs, but not pushes to other
branches. Allow workflow_dispatch to build them manually if we want to.
This commit is contained in:
Carlos Antonio da Silva
2026-02-18 10:10:02 -03:00
parent bb2b4ecc1b
commit 1befcb5882

View File

@@ -1,5 +1,10 @@
name: Test
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test:
strategy: