ci: restrict workflows to main branch

This commit is contained in:
2026-10-30 03:43:04 +08:00
parent 368bf5a6fe
commit d9cb7707be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# Hestia Server workflows
[ci.yml](ci.yml) verifies this project on main pushes, pull requests and manual dispatch. It runs on ces-control, with a 60-minute timeout. HTTPS checkout and job token details are in [the parent README](../README.md).
[ci.yml](ci.yml) verifies this project on main pushes and manual dispatch from main. It runs on ces-control, with a 60-minute timeout. HTTPS checkout and job token details are in [the parent README](../README.md).
[deploy.yml](deploy.yml) is main-only and manual-only. It repeats verification, builds the runtime image, then runs the existing deployment script. Production resource names, paths, lock and database mounts remain unchanged.
+1 -1
View File
@@ -3,11 +3,11 @@ name: Verify Hestia server
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
verify:
if: gitea.ref == 'refs/heads/main'
runs-on: ces-control
timeout-minutes: 60
env: