ci: broaden pull_request trigger, add workflow_dispatch

Previous pull_request: branches: [main, master] only fired when the PR
targeted main or master; a pull_request block without 'branches' fires
on any target and keeps this PR (and future stacked PRs) under CI.

Adds workflow_dispatch so the workflow can be kicked manually from the
Actions UI or 'gh workflow run'.
This commit is contained in:
Lahfir 2026-04-16 04:14:13 -07:00
parent 9740cbb44b
commit 94bfefa9a2

View file

@ -4,7 +4,7 @@ on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always