Only run CI on pushes to `main`, ow just on PR/dev branches

subint_spawner_backend
Gud Boi 2026-04-07 14:17:08 -04:00
parent 8494eb9b8a
commit d6ece8eab3
1 changed files with 9 additions and 4 deletions

View File

@ -1,15 +1,20 @@
name: CI name: CI
# NOTE distilled from,
# https://github.com/orgs/community/discussions/26276
on: on:
# any time a new branch pushed to origin # any time a new update to 'main'
push: push:
branches:
- main
# for on all (forked) PRs to repo
# NOTE, use a draft PR if you just want CI triggered..
pull_request:
# to run workflow manually from the "Actions" tab # to run workflow manually from the "Actions" tab
workflow_dispatch: workflow_dispatch:
# for on all (forked) PRs to repo
pull_request:
jobs: jobs:
# ------ sdist ------ # ------ sdist ------
# test that we can generate a software distribution and install it # test that we can generate a software distribution and install it