Skip to content

The open alternative to Salesforce, designed for AI.

Point CI dispatches at twentyhq/twenty-factory (#24196)

Félix Malfait655277cc6329
diff --git a/.github/workflows/app-prod-parity-e2e-dispatch.yaml b/.github/workflows/app-prod-parity-e2e-dispatch.yaml
index 5cd5069cdf8..c819ecd515f 100644
--- a/.github/workflows/app-prod-parity-e2e-dispatch.yaml
+++ b/.github/workflows/app-prod-parity-e2e-dispatch.yaml
@@ -50,25 +50,25 @@ jobs:
gh api "repos/$REPO/statuses/$HEAD_SHA" \
-f state=pending \
-f context=app-prod-parity-e2e \
- -f description="Dispatching prod-parity e2e to ci-privileged"
+ -f description="Dispatching prod-parity e2e to twenty-factory"
- - name: Mint ci-privileged dispatch token
+ - name: Mint twenty-factory dispatch token
id: app-token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ vars.TWENTY_WORKFLOW_DISPATCHER_CLIENT_ID }}
private-key: ${{ secrets.TWENTY_WORKFLOW_DISPATCHER_PRIVATE_KEY }}
owner: twentyhq
- repositories: ci-privileged
+ repositories: twenty-factory
permission-actions: write
- - name: Dispatch to ci-privileged
+ - name: Dispatch to twenty-factory
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
HEAD_SHA: ${{ steps.sha.outputs.head_sha }}
run: |
gh workflow run app-prod-parity-e2e.yaml \
- --repo twentyhq/ci-privileged \
+ --repo twentyhq/twenty-factory \
--ref main \
-f head_sha="$HEAD_SHA"
@@ -82,4 +82,4 @@ jobs:
gh api "repos/$REPO/statuses/$HEAD_SHA" \
-f state=failure \
-f context=app-prod-parity-e2e \
- -f description="Failed to dispatch prod-parity e2e to ci-privileged"
+ -f description="Failed to dispatch prod-parity e2e to twenty-factory"
diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml
index 7efc07ba87d..907ad75857d 100644
--- a/.github/workflows/claude.yml
+++ b/.github/workflows/claude.yml
@@ -183,7 +183,7 @@ jobs:
"PG_DATABASE_URL": "postgres://postgres:postgres@localhost:5432/default"
}
}
- - name: Mint ci-privileged dispatch token
+ - name: Mint twenty-factory dispatch token
id: app-token
if: always()
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
@@ -191,10 +191,10 @@ jobs:
client-id: ${{ vars.TWENTY_WORKFLOW_DISPATCHER_CLIENT_ID }}
private-key: ${{ secrets.TWENTY_WORKFLOW_DISPATCHER_PRIVATE_KEY }}
owner: twentyhq
- repositories: ci-privileged
+ repositories: twenty-factory
permission-actions: write
- - name: Dispatch response to ci-privileged
+ - name: Dispatch response to twenty-factory
if: always()
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
@@ -202,7 +202,7 @@ jobs:
ISSUE_NUMBER: ${{ steps.prompt.outputs.issue_number }}
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
run: |
- gh workflow run post-claude-response.yaml --repo twentyhq/ci-privileged --ref main \
+ gh workflow run post-claude-response.yaml --repo twentyhq/twenty-factory --ref main \
-f repo="$REPO" \
-f issue_number="$ISSUE_NUMBER" \
-f run_url="$RUN_URL"
diff --git a/.github/workflows/external-contributor-pr-auto-draft.yaml b/.github/workflows/external-contributor-pr-auto-draft.yaml
index 0b429b7edf5..cd6aedb4be5 100644
--- a/.github/workflows/external-contributor-pr-auto-draft.yaml
+++ b/.github/workflows/external-contributor-pr-auto-draft.yaml
@@ -16,20 +16,20 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- - name: Mint ci-privileged dispatch token
+ - name: Mint twenty-factory dispatch token
id: app-token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ vars.TWENTY_WORKFLOW_DISPATCHER_CLIENT_ID }}
private-key: ${{ secrets.TWENTY_WORKFLOW_DISPATCHER_PRIVATE_KEY }}
owner: twentyhq
- repositories: ci-privileged
+ repositories: twenty-factory
permission-actions: write
- - name: Dispatch to ci-privileged
+ - name: Dispatch to twenty-factory
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
- gh workflow run convert-pr-to-draft.yaml --repo twentyhq/ci-privileged --ref main \
+ gh workflow run convert-pr-to-draft.yaml --repo twentyhq/twenty-factory --ref main \
-f pr_number="$PR_NUMBER"
diff --git a/.github/workflows/post-ci-comments.yaml b/.github/workflows/post-ci-comments.yaml
index 711d37cf884..f8f401199ba 100644
--- a/.github/workflows/post-ci-comments.yaml
+++ b/.github/workflows/post-ci-comments.yaml
@@ -61,7 +61,7 @@ jobs:
core.setOutput('has_pr', 'true');
core.info(`PR #${prNumber}, Run ID: ${runId}`);
- - name: Mint ci-privileged dispatch token
+ - name: Mint twenty-factory dispatch token
id: app-token
if: steps.pr-info.outputs.has_pr == 'true'
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
@@ -69,10 +69,10 @@ jobs:
client-id: ${{ vars.TWENTY_WORKFLOW_DISPATCHER_CLIENT_ID }}
private-key: ${{ secrets.TWENTY_WORKFLOW_DISPATCHER_PRIVATE_KEY }}
owner: twentyhq
- repositories: ci-privileged
+ repositories: twenty-factory
permission-actions: write
- - name: Dispatch to ci-privileged
+ - name: Dispatch to twenty-factory
if: steps.pr-info.outputs.has_pr == 'true'
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
@@ -81,7 +81,7 @@ jobs:
REPOSITORY: ${{ github.repository }}
BRANCH_STATE: ${{ github.event.workflow_run.head_branch }}
run: |
- gh workflow run post-breaking-changes-comment.yaml --repo twentyhq/ci-privileged --ref main \
+ gh workflow run post-breaking-changes-comment.yaml --repo twentyhq/twenty-factory --ref main \
-f pr_number="$PR_NUMBER" \
-f run_id="$RUN_ID" \
-f repo="$REPOSITORY" \
diff --git a/.github/workflows/pr-review-dispatch.yaml b/.github/workflows/pr-review-dispatch.yaml
index 2b57a63ebbb..36534425826 100644
--- a/.github/workflows/pr-review-dispatch.yaml
+++ b/.github/workflows/pr-review-dispatch.yaml
@@ -19,14 +19,14 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- - name: Mint ci-privileged dispatch token
+ - name: Mint twenty-factory dispatch token
id: app-token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ vars.TWENTY_WORKFLOW_DISPATCHER_CLIENT_ID }}
private-key: ${{ secrets.TWENTY_WORKFLOW_DISPATCHER_PRIVATE_KEY }}
owner: twentyhq
- repositories: ci-privileged
+ repositories: twenty-factory
permission-actions: write
- name: Forward to PR review
@@ -35,6 +35,6 @@ jobs:
PR_NUMBER: ${{ github.event.pull_request.number }}
EVENT: ${{ github.event.action }}
run: |
- gh workflow run pr-review.yaml --repo twentyhq/ci-privileged --ref main \
+ gh workflow run pr-review.yaml --repo twentyhq/twenty-factory --ref main \
-f pr_number="$PR_NUMBER" \
-f event="$EVENT"
diff --git a/.github/workflows/preview-env-dispatch.yaml b/.github/workflows/preview-env-dispatch.yaml
index 12318ebcc49..7ec5114652b 100644
--- a/.github/workflows/preview-env-dispatch.yaml
+++ b/.github/workflows/preview-env-dispatch.yaml
@@ -65,7 +65,7 @@ jobs:
# Preview envs run on the PUBLIC ci-public repo so the 5h keepalive job
# consumes free Actions minutes (private repos bill them). ci-public holds
# no privileged secret: it starts the tunnel and dispatches the URL back to
- # ci-privileged for the PR comment *before* running any PR-controlled code.
+ # twenty-factory for the PR comment *before* running any PR-controlled code.
- name: Mint ci-public dispatch token
id: app-token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
diff --git a/.github/workflows/visual-regression-dispatch.yaml b/.github/workflows/visual-regression-dispatch.yaml
index c656f2dee2d..97a258453ac 100644
--- a/.github/workflows/visual-regression-dispatch.yaml
+++ b/.github/workflows/visual-regression-dispatch.yaml
@@ -1,11 +1,11 @@
name: Visual Regression Dispatch
-# Dispatches visual regression processing to ci-privileged after CI completes.
+# Dispatches visual regression processing to twenty-factory after CI completes.
# Runs in the context of the base repo (not the fork) so it has access to secrets,
# making it work for external contributor PRs.
#
-# All paths trigger the same ci-privileged workflow (post-visual-regression-comment.yaml)
-# via workflow_dispatch, passing the project as an input. ci-privileged routes to the
+# All paths trigger the same twenty-factory workflow (post-visual-regression-comment.yaml)
+# via workflow_dispatch, passing the project as an input. twenty-factory routes to the
# correct Argos project based on it.
on:
@@ -162,17 +162,17 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- - name: Mint ci-privileged dispatch token
+ - name: Mint twenty-factory dispatch token
id: app-token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ vars.TWENTY_WORKFLOW_DISPATCHER_CLIENT_ID }}
private-key: ${{ secrets.TWENTY_WORKFLOW_DISPATCHER_PRIVATE_KEY }}
owner: twentyhq
- repositories: ci-privileged
+ repositories: twenty-factory
permission-actions: write
- - name: Dispatch to ci-privileged
+ - name: Dispatch to twenty-factory
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
PROJECT: ${{ needs.resolve-context.outputs.project }}
@@ -204,4 +204,4 @@ jobs:
ARGS+=(-f parent_commits="$PARENT_COMMITS")
fi
- gh workflow run post-visual-regression-comment.yaml --repo twentyhq/ci-privileged --ref main "${ARGS[@]}"
+ gh workflow run post-visual-regression-comment.yaml --repo twentyhq/twenty-factory --ref main "${ARGS[@]}"
diff --git a/.github/workflows/website-preview-dispatch.yaml b/.github/workflows/website-preview-dispatch.yaml
index dac4ddde865..90e376d7753 100644
--- a/.github/workflows/website-preview-dispatch.yaml
+++ b/.github/workflows/website-preview-dispatch.yaml
@@ -35,24 +35,24 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- - name: Mint ci-privileged dispatch token
+ - name: Mint twenty-factory dispatch token
id: app-token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ vars.TWENTY_WORKFLOW_DISPATCHER_CLIENT_ID }}
private-key: ${{ secrets.TWENTY_WORKFLOW_DISPATCHER_PRIVATE_KEY }}
owner: twentyhq
- repositories: ci-privileged
+ repositories: twenty-factory
permission-actions: write
- - name: Dispatch website-preview-build to ci-privileged
+ - name: Dispatch website-preview-build to twenty-factory
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
PR_NUMBER: ${{ github.event.pull_request.number }}
PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}
run: |
- gh workflow run website-preview.yaml --repo twentyhq/ci-privileged --ref main \
+ gh workflow run website-preview.yaml --repo twentyhq/twenty-factory --ref main \
-f action=build \
-f pr_number="$PR_NUMBER" \
-f pr_head_sha="$PR_HEAD_SHA" \
@@ -69,21 +69,21 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- - name: Mint ci-privileged dispatch token
+ - name: Mint twenty-factory dispatch token
id: app-token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ vars.TWENTY_WORKFLOW_DISPATCHER_CLIENT_ID }}
private-key: ${{ secrets.TWENTY_WORKFLOW_DISPATCHER_PRIVATE_KEY }}
owner: twentyhq
- repositories: ci-privileged
+ repositories: twenty-factory
permission-actions: write
- - name: Dispatch website-preview-cleanup to ci-privileged
+ - name: Dispatch website-preview-cleanup to twenty-factory
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
- gh workflow run website-preview.yaml --repo twentyhq/ci-privileged --ref main \
+ gh workflow run website-preview.yaml --repo twentyhq/twenty-factory --ref main \
-f action=cleanup \
-f pr_number="$PR_NUMBER"