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.

ci: alert workflows only post from trycua/cua, not from forks (CUA-2286) (#5944)

cua-agents[bot]9f910eae01ff
diff --git a/.github/workflows/release-unreleased-digest.yml b/.github/workflows/release-unreleased-digest.yml
index 756fb9cc3a..636e5c7ee7 100644
--- a/.github/workflows/release-unreleased-digest.yml
+++ b/.github/workflows/release-unreleased-digest.yml
@@ -11,6 +11,7 @@ permissions:
jobs:
digest:
+ if: github.repository == 'trycua/cua'
runs-on: ubuntu-latest
steps:
- name: Checkout
diff --git a/.github/workflows/workflow-failure-alerts.yml b/.github/workflows/workflow-failure-alerts.yml
index c4c52ec05d..43be74106f 100644
--- a/.github/workflows/workflow-failure-alerts.yml
+++ b/.github/workflows/workflow-failure-alerts.yml
@@ -48,6 +48,8 @@ concurrency:
jobs:
alert:
+ # Forks copy this workflow and its cron; they hold no intake password and must not post alerts (CUA-2286).
+ if: github.repository == 'trycua/cua'
runs-on: ubuntu-latest
timeout-minutes: 5
env: