From d4ca8fe7c591c1d28d771328e59945644e73f4a3 Mon Sep 17 00:00:00 2001 From: Bo Lorentsen Date: Sat, 24 Oct 2026 19:31:07 +0200 Subject: [PATCH] Add pull_request trigger so PRs into main post a status check --- .gitea/workflows/build.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index deca5e4..23b3c94 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -14,8 +14,12 @@ name: Build RPi image on: push: - # main is release-protected; CI branches may be pushed freely for testing + # main is release-protected; ci/* branches are free scratch space branches: [main, 'ci/*'] + pull_request: + # gates merges into main, and provides the commit status that a + # "require status checks" branch-protection rule waits for + branches: [main] workflow_dispatch: # Never run two builds at once on the same (single) runner.