-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
When someone creates a pull request to the content repository (to be created / split from the Astro codebase in the future), hoof should:
- Look up the author of the pull request
- Determine if they have an account in the CMS (TBD: how?)
- If not, create a profile/user record in the DB
- TBD: should they be prompted to complete oauth to create an account via PR comment?
- If not, create a profile/user record in the DB
- Obtain the forked repo/branch from the PR webhook event
- Import the post under the author's profile as a draft
- TBD: We need the frontend to expose a no-index page for viewing a draft post from the API
- Send a build status back to the PR to indicate if the import was successful
If the same post is later sent via a push webhook from main, the post should be marked as published with the webhook date as the timestamp.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
❗ Needs Attention