ci: restrict workflows to main branch

This commit is contained in:
2026-10-30 03:43:08 +08:00
parent ba88ee3cdc
commit bd5275944a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# Lyra CLI 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).
There is no production service deployment in this workflow.
+1 -1
View File
@@ -3,11 +3,11 @@ name: Verify Lyra CLI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
verify:
if: gitea.ref == 'refs/heads/main'
runs-on: ces-control
timeout-minutes: 60
env: