ci: 仅 main 分支执行 CI/CD #1
@@ -1,5 +1,5 @@
|
|||||||
# Lyra CLI workflows
|
# 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.
|
There is no production service deployment in this workflow.
|
||||||
|
|||||||
@@ -3,11 +3,11 @@ name: Verify Lyra CLI
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
pull_request:
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
verify:
|
verify:
|
||||||
|
if: gitea.ref == 'refs/heads/main'
|
||||||
runs-on: ces-control
|
runs-on: ces-control
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user