refactor: remove duplicate pull_request triggers from workflow files (#24814)

This commit is contained in:
-LAN-
2025-08-29 23:09:26 +08:00
committed by GitHub
parent 574d00bb13
commit 9ff6baaf52
7 changed files with 2 additions and 35 deletions

View File

@@ -2,13 +2,6 @@ name: Run Pytest
on:
workflow_call:
pull_request:
branches:
- main
paths:
- api/**
- docker/**
- .github/workflows/api-tests.yml
concurrency:
group: api-tests-${{ github.head_ref || github.run_id }}

View File

@@ -1,10 +1,6 @@
name: autofix.ci
on:
workflow_call:
pull_request:
branches: [ "main" ]
push:
branches: [ "main" ]
permissions:
contents: read

View File

@@ -2,13 +2,6 @@ name: DB Migration Test
on:
workflow_call:
pull_request:
branches:
- main
- plugins/beta
paths:
- api/migrations/**
- .github/workflows/db-migration-test.yml
concurrency:
group: db-migration-test-${{ github.ref }}

View File

@@ -3,6 +3,8 @@ name: Main CI Pipeline
on:
pull_request:
branches: [ "main" ]
push:
branches: [ "main" ]
permissions:
contents: write

View File

@@ -2,9 +2,6 @@ name: Style check
on:
workflow_call:
pull_request:
branches:
- main
concurrency:
group: style-${{ github.head_ref || github.run_id }}

View File

@@ -2,15 +2,6 @@ name: Run VDB Tests
on:
workflow_call:
pull_request:
branches:
- main
paths:
- api/core/rag/datasource/**
- docker/**
- .github/workflows/vdb-tests.yml
- api/uv.lock
- api/pyproject.toml
concurrency:
group: vdb-tests-${{ github.head_ref || github.run_id }}

View File

@@ -2,11 +2,6 @@ name: Web Tests
on:
workflow_call:
pull_request:
branches:
- main
paths:
- web/**
concurrency:
group: web-tests-${{ github.head_ref || github.run_id }}