ci: restrict workflows to main branch

This commit is contained in:
2026-10-30 03:44:05 +08:00
parent a80448ae36
commit 10a50e32db
4 changed files with 8 additions and 5 deletions
+1
View File
@@ -10,6 +10,7 @@ on:
jobs:
probe:
if: gitea.ref == 'refs/heads/main'
runs-on: gitea-cicd-server-for-CODEX
timeout-minutes: 10
steps: