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.

fix workflow to send slack

Sarina Lic0412ffa0e38
diff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.yml
index 9603dc01dc..0b68dcc414 100644
--- a/.github/workflows/link-check.yml
+++ b/.github/workflows/link-check.yml
@@ -1,8 +1,11 @@
name: Link Checker
on:
- pull_request:
+ pull_request_target:
+ branches: [main, master]
push:
+ branches:
+ - main
workflow_dispatch:
jobs:
@@ -73,7 +76,6 @@ jobs:
SLACK_MESSAGE: |
*Status:* ${{ env.STATUS_ICON }} ${{ env.STATUS_TEXT }}
- *Branch:* ${{ github.ref_name }}
- *Commit:* ${{ github.event.head_commit.message || 'See PR description' }}
+ *Branch:* `${{ github.ref_name }}`
- *Run Details:* ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
+ <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}${{ github.event.pull_request.number && format('?pr={0}', github.event.pull_request.number) || '' }}|View broken links>