Deploy to production env#62
Merged
Merged
Conversation
…bhooks Lifecycle webhooks (submission-received, approved, declined, changes-requested) no longer carried the submitter's email/name, so downstream n8n email workflows had no recipient. Add owner_email/owner_name (from the submit payload on create; from the populated owner relation on publish/decide) plus a coarse kind (plugin|template) for routing/labels. Keeps canonical Strapi field names (documentId, name, git_repository, slug). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Workflows were authored against an older payload. Map body fields to canonical names (plugin_name/template_name->name, submissionId/package_id->documentId, repository_url->git_repository, package_slug->slug); fix security-scan/stale-scan callbacks to use the correct route plurals (packages/templates) and authenticate via Authorization: Bearer $env.STRAPI_API_TOKEN instead of an unset credential; standardize on $env.STRAPI_BASE_URL. Add the n8n env wiring (STRAPI_BASE_URL/API_TOKEN, N8N_BLOCK_ENV_ACCESS_IN_NODE) needed for the workflows to reach Strapi. Production-faithful: SendGrid + header-auth webhooks retained. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
config/database.ts supports a postgres client but the driver was never installed, so the app could only run on the sqlite default. Required to run against the (staging) Postgres database. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
fix(automation): resolve n8n workflow ↔ CMS webhook contract drift
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.