diff --git a/.github/workflows/trustabl.yml b/.github/workflows/trustabl.yml new file mode 100644 index 0000000..bdf1788 --- /dev/null +++ b/.github/workflows/trustabl.yml @@ -0,0 +1,42 @@ +name: Trustabl Agent Scanner + +on: + push: + branches: [main] + pull_request: + workflow_dispatch: + +permissions: + contents: read + +jobs: + scan: + runs-on: ubuntu-latest + timeout-minutes: 15 + + concurrency: + group: trustabl-${{ github.ref }} + cancel-in-progress: true + + permissions: + contents: read + security-events: write + + continue-on-error: true + + env: + TRUSTABL_TELEMETRY: disabled + + steps: + - name: Checkout repository + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + persist-credentials: false + + - name: Scan AI agent reliability + uses: trustabl/trustabl-action@973f666d20b5fbb2e6a4511bd3846e965a08c28b # v0.4.1 + with: + version: v0.1.6 + upload-sarif: true + comment-on-pr: false + upload-artifact: false diff --git a/tests/integrations/test_crewai.py b/tests/integrations/test_crewai.py index 8062d07..df5649a 100644 --- a/tests/integrations/test_crewai.py +++ b/tests/integrations/test_crewai.py @@ -569,6 +569,7 @@ def _fake_create(self, *args, **kwargs): backstory="A meticulous researcher", llm=llm, verbose=False, + max_iter=2, ) task = Task( description="Summarize the latest in AI agent testing",