Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

docs-mcp-server CD: no AWS role on pull_request (CUA-3355) (#6507)

Francesco Bonaccic63f8880866d
diff --git a/.github/workflows/ci-cua-sdk.yml b/.github/workflows/ci-cua-sdk.yml
index 5d0c008555..e45fafa2b6 100644
--- a/.github/workflows/ci-cua-sdk.yml
+++ b/.github/workflows/ci-cua-sdk.yml
@@ -259,7 +259,7 @@ jobs:
-p cua-spaces-ext -p cua-spaces-ffi -p cua-spaces-cli
-p cua-auth -p cua-bindgen -p cua-connections -p cua-crash -p cua-create-failure -p cua-disk -p cua-home
-p cua-hotspot -p cua-machine-seal -p cua-mock-llm -p cua-push -p cua-repo-cache -p cua-share
- -p cua-snapshot-sync -p cua-spaces-contract -p cua-spaces-transcript --test-threads 4
+ -p cua-snapshot-sync -p cua-spaces-contract -p cua-spaces-transcript -p cua-agent-threads --test-threads 4
env:
# Teleport send acts only on fake hosts in tests; anything that
# reaches the real host fails closed.
diff --git a/.github/workflows/docs-mcp-server-build-push.yml b/.github/workflows/docs-mcp-server-build-push.yml
index a92ec35e58..d60752e079 100644
--- a/.github/workflows/docs-mcp-server-build-push.yml
+++ b/.github/workflows/docs-mcp-server-build-push.yml
@@ -57,13 +57,16 @@ jobs:
TAG=$(echo "${{ matrix.platform }}" | sed 's/\//-/g')
echo "tag=${TAG}" >> $GITHUB_OUTPUT
+ # Never assume the push role on pull_request: the role must not trust PR runs.
- name: Configure AWS credentials
+ if: github.event_name != 'pull_request'
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
with:
role-to-assume: arn:aws:iam::296062593712:role/github-actions-ecr-push-cua
aws-region: ${{ env.AWS_REGION }}
- name: Login to Amazon ECR
+ if: github.event_name != 'pull_request'
id: login-ecr
uses: aws-actions/amazon-ecr-login@03f1aad4c6c7ffd436567f42f9384779290529bd # v2