refactor: remove duplicate pull_request triggers from workflow files (#24814)
This commit is contained in:
7
.github/workflows/api-tests.yml
vendored
7
.github/workflows/api-tests.yml
vendored
@@ -2,13 +2,6 @@ name: Run Pytest
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- api/**
|
|
||||||
- docker/**
|
|
||||||
- .github/workflows/api-tests.yml
|
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: api-tests-${{ github.head_ref || github.run_id }}
|
group: api-tests-${{ github.head_ref || github.run_id }}
|
||||||
|
4
.github/workflows/autofix.yml
vendored
4
.github/workflows/autofix.yml
vendored
@@ -1,10 +1,6 @@
|
|||||||
name: autofix.ci
|
name: autofix.ci
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
pull_request:
|
|
||||||
branches: [ "main" ]
|
|
||||||
push:
|
|
||||||
branches: [ "main" ]
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
7
.github/workflows/db-migration-test.yml
vendored
7
.github/workflows/db-migration-test.yml
vendored
@@ -2,13 +2,6 @@ name: DB Migration Test
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- plugins/beta
|
|
||||||
paths:
|
|
||||||
- api/migrations/**
|
|
||||||
- .github/workflows/db-migration-test.yml
|
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: db-migration-test-${{ github.ref }}
|
group: db-migration-test-${{ github.ref }}
|
||||||
|
2
.github/workflows/main-ci.yml
vendored
2
.github/workflows/main-ci.yml
vendored
@@ -3,6 +3,8 @@ name: Main CI Pipeline
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
3
.github/workflows/style.yml
vendored
3
.github/workflows/style.yml
vendored
@@ -2,9 +2,6 @@ name: Style check
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: style-${{ github.head_ref || github.run_id }}
|
group: style-${{ github.head_ref || github.run_id }}
|
||||||
|
9
.github/workflows/vdb-tests.yml
vendored
9
.github/workflows/vdb-tests.yml
vendored
@@ -2,15 +2,6 @@ name: Run VDB Tests
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- api/core/rag/datasource/**
|
|
||||||
- docker/**
|
|
||||||
- .github/workflows/vdb-tests.yml
|
|
||||||
- api/uv.lock
|
|
||||||
- api/pyproject.toml
|
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: vdb-tests-${{ github.head_ref || github.run_id }}
|
group: vdb-tests-${{ github.head_ref || github.run_id }}
|
||||||
|
5
.github/workflows/web-tests.yml
vendored
5
.github/workflows/web-tests.yml
vendored
@@ -2,11 +2,6 @@ name: Web Tests
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- web/**
|
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: web-tests-${{ github.head_ref || github.run_id }}
|
group: web-tests-${{ github.head_ref || github.run_id }}
|
||||||
|
Reference in New Issue
Block a user