ci: rename the CI gate label from e2e to ready-for-ci (#14191)

This commit is contained in:
Hengfei Yang
2026-09-04 06:34:07 +00:00
committed by GitHub
parent ea57674e56
commit d28ba30da0
18 changed files with 48 additions and 48 deletions
+5 -5
View File
@@ -8,7 +8,7 @@ on:
pull_request:
branches:
- "**"
# labeled/unlabeled so adding or removing 'e2e' starts or resets CI; drafts never run paid CI.
# labeled/unlabeled so adding or removing 'ready-for-ci' starts or resets CI; drafts never run paid CI.
types: [opened, reopened, synchronize, labeled, unlabeled, ready_for_review, converted_to_draft]
merge_group:
@@ -33,8 +33,8 @@ env:
jobs:
check_changes:
# Runs only on PRs carrying the 'e2e' label; the merge queue runs unit tests only (see docs/ci).
if: ${{ github.event_name != 'merge_group' && (github.event_name != 'pull_request' || (contains(github.event.pull_request.labels.*.name, 'e2e') && github.event.pull_request.draft == false)) }}
# Runs only on PRs carrying the 'ready-for-ci' label; the merge queue runs unit tests only (see docs/ci).
if: ${{ github.event_name != 'merge_group' && (github.event_name != 'pull_request' || (contains(github.event.pull_request.labels.*.name, 'ready-for-ci') && github.event.pull_request.draft == false)) }}
name: check_changes
runs-on: ubuntu-latest
permissions:
@@ -551,7 +551,7 @@ jobs:
runs-on: ubuntu-latest
permissions: {}
needs: [check_changes, build_api_binary, api_integration_tests, api_query_agent_tests, api_regression_tests]
if: always() && github.event_name != 'merge_group' && (github.event_name != 'pull_request' || (contains(github.event.pull_request.labels.*.name, 'e2e') && github.event.pull_request.draft == false))
if: always() && github.event_name != 'merge_group' && (github.event_name != 'pull_request' || (contains(github.event.pull_request.labels.*.name, 'ready-for-ci') && github.event.pull_request.draft == false))
steps:
- name: Check test results
run: |
@@ -585,7 +585,7 @@ jobs:
report_to_openobserve:
name: Report run metrics to OpenObserve
needs: [check_changes, api_integration_tests, api_query_agent_tests, api_regression_tests]
if: always() && github.event_name != 'merge_group' && (github.event_name != 'pull_request' || (contains(github.event.pull_request.labels.*.name, 'e2e') && github.event.pull_request.draft == false))
if: always() && github.event_name != 'merge_group' && (github.event_name != 'pull_request' || (contains(github.event.pull_request.labels.*.name, 'ready-for-ci') && github.event.pull_request.draft == false))
runs-on: ubuntu-latest
permissions:
actions: read