From d1f472e8236ac8ecb7785597cddd01aee65f511e Mon Sep 17 00:00:00 2001 From: Nubenetes Bot Date: Mon, 18 May 2026 22:41:45 +0200 Subject: [PATCH] ci: refine V2 Agentic Builder triggers to prevent redundant runs --- .github/workflows/agentic_v2_builder.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/agentic_v2_builder.yml b/.github/workflows/agentic_v2_builder.yml index f0e28df1..15a95669 100644 --- a/.github/workflows/agentic_v2_builder.yml +++ b/.github/workflows/agentic_v2_builder.yml @@ -17,6 +17,7 @@ on: paths: - 'docs/**' - 'data/inventory.yaml' + - 'src/v2_optimizer.py' # Support automated sync after curation or cleaning runs workflow_run: workflows: ["Nubenetes Automated Agentic Curation", "Nubenetes Intelligent Link Cleaner & Dedup"] @@ -30,7 +31,7 @@ permissions: jobs: build-v2-edition: runs-on: ubuntu-latest - if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') + if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/develop') || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') steps: - name: Repository Synchronization uses: actions/checkout@v4