Skip to content

The open alternative to Salesforce, designed for AI.

chore: trigger automerge for AI catalog sync PRs (#18855)

Félix Malfait630f3a0fd7cf
diff --git a/.github/workflows/ci-ai-catalog-sync.yaml b/.github/workflows/ci-ai-catalog-sync.yaml
index 881f964b2c0..0da151494af 100644
--- a/.github/workflows/ci-ai-catalog-sync.yaml
+++ b/.github/workflows/ci-ai-catalog-sync.yaml
@@ -58,3 +58,11 @@ jobs:
base: main
labels: ai, automated
delete-branch: true
+
+ - name: Trigger automerge
+ if: steps.changes.outputs.changed == 'true'
+ uses: peter-evans/repository-dispatch@v2
+ with:
+ token: ${{ secrets.TWENTY_INFRA_TOKEN }}
+ repository: twentyhq/twenty-infra
+ event-type: automated-pr-ready