chore(actions): only trigger CI for main branch

Prevents double running of CI for secondary branches which are being
PR'd into main. This also makes checks only run for branches if they're
being PR'd as a consequence.
This commit is contained in:
Erica Marigold 2025-02-21 19:07:03 +00:00
parent 4ad9806ccc
commit 776ac470dd
Signed by: DevComp
SSH key fingerprint: SHA256:jD3oMT4WL3WHPJQbrjC3l5feNCnkv7ndW8nYaHX5wFw

View file

@ -2,6 +2,8 @@ name: CI
on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
- 'examples/**'