Skip to content

DeepTeam is a framework to red team LLMs and AI agents.

Correct concurrency setup

Serghei Iakovlevf8851b73dcd7
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 4de5e068..7ee61ce7 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -33,7 +33,7 @@ jobs:
# - github.workflow: The name of the workflow (e.g. Workflow 1).
# - github.event.pull_request.number: The number of the pull request (when the trigger event is a PR).
# - github.ref: The branch name (when the trigger is not a PR but a push).
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ matrix.python }}
cancel-in-progress: true
steps:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 278c06d5..87b08182 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -39,7 +39,7 @@ jobs:
# - github.workflow: The name of the workflow (e.g. Workflow 1).
# - github.event.pull_request.number: The number of the pull request (when the trigger event is a PR).
# - github.ref: The branch name (when the trigger is not a PR but a push).
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ matrix.python }}
cancel-in-progress: true
steps: