From be15164df35431b212c0ba95caa4d5105dc8a469 Mon Sep 17 00:00:00 2001 From: Cam Quilici Date: Wed, 15 Jul 2026 23:16:30 -0500 Subject: [PATCH] fix(ci): use repository dispatch for agentic ingest [skip-sweep] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch every agentic ingest trigger to the repository_dispatch contract exposed by InferenceX-app, avoiding the Actions-write permission required by workflow_dispatch. 中文:将所有 Agentic 摄取触发器切换到 InferenceX-app 提供的 repository_dispatch 契约,避免 workflow_dispatch 所需的 Actions 写入权限。 --- .github/workflows/e2e-tests.yml | 6 +++--- .github/workflows/recover-reused-ingest.yml | 6 +++--- .github/workflows/run-sweep.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 51c68e1d8..082478630 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -424,10 +424,10 @@ jobs: curl -sSf -X POST \ -H "Authorization: Bearer ${{ secrets.INFX_FRONTEND_PAT }}" \ -H "Accept: application/vnd.github+v3+json" \ - https://api.github.com/repos/SemiAnalysisAI/InferenceX-app/actions/workflows/ingest-agentic-results.yml/dispatches \ + https://api.github.com/repos/SemiAnalysisAI/InferenceX-app/dispatches \ -d '{ - "ref": "master", - "inputs": { + "event_type": "ingest-agentic-results", + "client_payload": { "run-id": "${{ github.run_id }}", "run-attempt": "${{ github.run_attempt }}", "database-target": "production" diff --git a/.github/workflows/recover-reused-ingest.yml b/.github/workflows/recover-reused-ingest.yml index 93eb94c63..73c924d37 100644 --- a/.github/workflows/recover-reused-ingest.yml +++ b/.github/workflows/recover-reused-ingest.yml @@ -163,10 +163,10 @@ jobs: curl -sSf -X POST \ -H "Authorization: Bearer ${{ secrets.INFX_FRONTEND_PAT }}" \ -H "Accept: application/vnd.github+v3+json" \ - https://api.github.com/repos/SemiAnalysisAI/InferenceX-app/actions/workflows/ingest-agentic-results.yml/dispatches \ + https://api.github.com/repos/SemiAnalysisAI/InferenceX-app/dispatches \ -d '{ - "ref": "master", - "inputs": { + "event_type": "ingest-agentic-results", + "client_payload": { "run-id": "${{ github.run_id }}", "run-attempt": "${{ github.run_attempt }}", "database-target": "production" diff --git a/.github/workflows/run-sweep.yml b/.github/workflows/run-sweep.yml index fdb34e1e4..53a1739ad 100644 --- a/.github/workflows/run-sweep.yml +++ b/.github/workflows/run-sweep.yml @@ -970,10 +970,10 @@ jobs: curl -sSf -X POST \ -H "Authorization: Bearer ${{ secrets.INFX_FRONTEND_PAT }}" \ -H "Accept: application/vnd.github+v3+json" \ - https://api.github.com/repos/SemiAnalysisAI/InferenceX-app/actions/workflows/ingest-agentic-results.yml/dispatches \ + https://api.github.com/repos/SemiAnalysisAI/InferenceX-app/dispatches \ -d '{ - "ref": "master", - "inputs": { + "event_type": "ingest-agentic-results", + "client_payload": { "run-id": "${{ github.run_id }}", "run-attempt": "${{ github.run_attempt }}", "database-target": "production"