Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
ci: skip python heavy CI on Actions-only PRs (#6818)
Rip&Tearfae634070b63
diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.ymlindex 245ba9fec..7c99c7476 100644--- a/.github/workflows/linter.yml+++ b/.github/workflows/linter.yml@@ -18,13 +18,14 @@ jobs:with:# Exclusion-only patterns match every non-excluded file under the# default "some" quantifier. Require all patterns (including "**")- # so docs-only / markdown-only PRs correctly set code=false.+ # so docs/markdown/Actions-only PRs correctly set code=false.predicate-quantifier: everyfilters: |code:- '**'- '!docs/**'- '!**/*.md'+ - '!.github/**'lint-run:needs: changes@@ -81,7 +82,7 @@ jobs:- name: Check resultsrun: |if [ "${{ needs.changes.outputs.code }}" != "true" ]; then- echo "Docs-only change, skipping lint"+ echo "Non-code change, skipping lint"exit 0fiif [ "${{ needs.lint-run.result }}" == "success" ]; thendiff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 1e4d77a60..f1df7bd78 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -18,13 +18,14 @@ jobs:with:# Exclusion-only patterns match every non-excluded file under the# default "some" quantifier. Require all patterns (including "**")- # so docs-only / markdown-only PRs correctly set code=false.+ # so docs/markdown/Actions-only PRs correctly set code=false.predicate-quantifier: everyfilters: |code:- '**'- '!docs/**'- '!**/*.md'+ - '!.github/**'tests-matrix:name: tests (${{ matrix.python-version }})@@ -131,7 +132,7 @@ jobs:- name: Check resultsrun: |if [ "${{ needs.changes.outputs.code }}" != "true" ]; then- echo "Docs-only change, skipping tests"+ echo "Non-code change, skipping tests"exit 0fiif [ "${{ needs.tests-matrix.result }}" == "success" ]; thendiff --git a/.github/workflows/type-checker.yml b/.github/workflows/type-checker.ymlindex a9088381b..5ca0bbb05 100644--- a/.github/workflows/type-checker.yml+++ b/.github/workflows/type-checker.yml@@ -18,13 +18,14 @@ jobs:with:# Exclusion-only patterns match every non-excluded file under the# default "some" quantifier. Require all patterns (including "**")- # so docs-only / markdown-only PRs correctly set code=false.+ # so docs/markdown/Actions-only PRs correctly set code=false.predicate-quantifier: everyfilters: |code:- '**'- '!docs/**'- '!**/*.md'+ - '!.github/**'type-checker-matrix:name: type-checker (${{ matrix.python-version }})@@ -85,7 +86,7 @@ jobs:- name: Check resultsrun: |if [ "${{ needs.changes.outputs.code }}" != "true" ]; then- echo "Docs-only change, skipping type checks"+ echo "Non-code change, skipping type checks"exit 0fiif [ "${{ needs.type-checker-matrix.result }}" == "success" ]; thendiff --git a/.github/workflows/vulnerability-scan.yml b/.github/workflows/vulnerability-scan.ymlindex 2f9834edc..0c760c6ba 100644--- a/.github/workflows/vulnerability-scan.yml+++ b/.github/workflows/vulnerability-scan.yml@@ -26,13 +26,14 @@ jobs:with:# Exclusion-only patterns match every non-excluded file under the# default "some" quantifier. Require all patterns (including "**")- # so docs-only / markdown-only PRs correctly set code=false.+ # so docs/markdown/Actions-only PRs correctly set code=false.predicate-quantifier: everyfilters: |code:- '**'- '!docs/**'- '!**/*.md'+ - '!.github/**'- name: Set code outputid: setrun: |