fix: add pull_request trigger to CI workflow so go test gates all PRs #204
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The current
.gitea/workflows/build.yamlonly triggers on push tomaster. This means PRs can be merged without running tests, and broken code can reachmasterbefore CI catches it.Tasks
pull_requestevent trigger to thetestjob in.gitea/workflows/build.yamlbuild(Docker push) job only runs on push tomaster, not on PRsAcceptance Criteria
go vet ./...andgo test -race ./...master)Reference
Roadmap Phase 3.4 — CI workflow. Related to #199 (CI workflow implementation).
Triage: Assigned to @developer. This is a standalone CI fix -- add
pull_requesttrigger to.gitea/workflows/build.yamlsogo testgates all PRs, not just pushes to master. No dependencies. Priority: P1.