thermograph/frontend/.forgejo/workflows/pr-build.yml
Emi Griffith d6df04eab2 Subtree-merge thermograph-frontend (origin/main) into frontend/
git-subtree-dir: frontend
git-subtree-mainline: a4be7066e5
git-subtree-split: 3a98146da4
2026-07-22 22:01:11 -07:00

28 lines
922 B
YAML

name: PR build (required check)
# Every PR into `dev` runs the build check. Mirrors the monorepo's
# .forgejo/workflows/pr-build.yml -- Forgejo has native branch protection +
# auto-merge, so this workflow's only job is to BE the required status check;
# there is no custom merge step here.
#
# One-time web UI setup (not expressible in this file):
# Settings -> Branches -> add a protected-branch rule for `dev`
# -> enable "Enable Status Check", list this job's name ("build")
# -> merge style: squash
# Then on a ready PR: "Auto merge when checks succeed".
#
# A native auto-merge is a real git merge, so it fires deploy-dev.yml's push
# trigger naturally -- no separate deploy job needed here.
on:
pull_request:
branches: [dev]
concurrency:
group: dev-pr-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
build:
name: build
uses: ./.forgejo/workflows/build.yml