diff --git a/.github/changes-filter.yaml b/.github/changes-filter.yaml index b21ef891e..02a639abd 100644 --- a/.github/changes-filter.yaml +++ b/.github/changes-filter.yaml @@ -7,6 +7,7 @@ python: - "src/backend/base/pyproject.toml" - "src/backend/base/uv.lock" - "**/python_test.yml" + - ".github/workflows/ci.yml" components-changes: - "src/backend/base/langflow/components/**" starter-projects-changes: @@ -17,6 +18,7 @@ frontend: - "src/frontend/**" - "**/typescript_test.yml" - "**/jest_test.yml" + - ".github/workflows/ci.yml" docs: - "docs/**" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60cfa0c46..17b2fc53c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ on: type: string default: "['3.10']" pull_request: - types: [synchronize, labeled] + types: [opened, synchronize, labeled] merge_group: concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -120,7 +120,7 @@ jobs: name: Should Run CI runs-on: ubuntu-latest outputs: - should-run-ci: ${{ (contains( github.event.pull_request.labels.*.name, 'lgtm') && github.event.pull_request.draft == false) || (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || github.event_name == 'merge_group') }} + should-run-ci: ${{ (github.event.pull_request.draft == false) || (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || github.event_name == 'merge_group') }} should-run-tests: ${{ !contains(github.event.pull_request.labels.*.name, 'fast-track') || github.event_name == 'workflow_call' || github.event_name == 'workflow_dispatch' || github.event_name == 'merge_group' }} steps: # Do anything just to make the job run