ci: 仅 main 分支执行 CI/CD #1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user