From 23f1925cc065dbdd763f795578a86d0b9d77eb79 Mon Sep 17 00:00:00 2001 From: Codex Bot Date: Fri, 30 Oct 2026 03:44:01 +0800 Subject: [PATCH] ci: restrict workflows to main branch --- .gitea/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index a5e2115..6018c93 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,12 +6,12 @@ name: ci on: push: - branches: [main, "ci/**"] - pull_request: + branches: [main] workflow_dispatch: jobs: test: + if: gitea.ref == 'refs/heads/main' runs-on: ubuntu24.04-x64-lean4.35 timeout-minutes: 20 steps: