Merge pull request 'ci: don't run on main branch push — PR trigger covers pre-merge safety' (#2) from dev into main

Reviewed-on: bvandeusen/FabledAssistant#2
This commit was merged in pull request #2.
This commit is contained in:
2026-03-12 00:05:06 -04:00
+8 -5
View File
@@ -1,9 +1,12 @@
# CI runs first; build only proceeds if all checks pass.
#
# Push to dev: typecheck + lint + test → build :dev + :<sha>
# Push to main: typecheck + lint + test only (no build — wait for release tag)
# Tag v*: typecheck + lint + test → build :latest + :<sha> + :<version>
# Pull request: typecheck + lint + test only (no build)
# Push to dev: typecheck + lint + test → build :dev + :<sha>
# Tag v* (release): typecheck + lint + test → build :latest + :<sha> + :<version>
# Pull request: typecheck + lint + test only (no build)
#
# To cut a release:
# Create a release via the Forgejo UI on main with a v* tag name.
# The tag push triggers this workflow; build job pushes :latest + :<version>.
#
# Required secrets (repo → Settings → Secrets → Actions):
# REGISTRY_USER — your Forgejo username
@@ -12,7 +15,7 @@ name: CI & Build
on:
push:
branches: [main, dev]
branches: [dev]
tags: ["v*"]
paths:
- "src/**"