ci: Restrict GHA to only master branch on push events

CI will trigger duplicated runs for branches if they have a pull request
open, so only run CI for push events to master.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford 2025-06-25 11:22:20 -06:00
parent d5e14a914e
commit 3313fb701a
No known key found for this signature in database
GPG key ID: 68E558D2BBD856E3

View file

@ -4,8 +4,8 @@
name: CI
on:
push:
branches-ignore:
- 'wip/*'
branches:
- 'master'
pull_request:
env: