diff --git a/.github/workflows/block-master-prs.yml b/.github/workflows/block-master-prs.yml deleted file mode 100644 index 32d3f1a8..00000000 --- a/.github/workflows/block-master-prs.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Enforce Develop Branch -on: - pull_request: - branches: - - master # Triggers only on PRs targeting master - -jobs: - guard-master: - runs-on: ubuntu-latest - steps: - - name: Check base branch - # logic: If the PR is NOT coming from a release or hotfix branch, block it. - if: "!startsWith(github.head_ref, 'release/') && !startsWith(github.head_ref, 'hotfix/')" - run: | - echo "::error::⛔ WRONG BRANCH: You are trying to merge into 'master'. Please change the base branch of this PR to 'develop'." - exit 1 diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml new file mode 100644 index 00000000..2977ea70 --- /dev/null +++ b/.github/workflows/update-docs.yml @@ -0,0 +1,29 @@ +name: Update Documentation + +on: + pull_request: + types: [closed] + branches: [master] + +jobs: + update-docs: + # Only run if PR was merged (not just closed) + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + + steps: + - name: Trigger docs update + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.DOCS_REPO_PAT }} + repository: shrimbly/node-banana-docs + event-type: source-pr-merged + client-payload: | + { + "pr_number": "${{ github.event.pull_request.number }}", + "pr_title": "${{ github.event.pull_request.title }}", + "pr_body": ${{ toJson(github.event.pull_request.body) }}, + "pr_url": "${{ github.event.pull_request.html_url }}", + "merged_by": "${{ github.event.pull_request.merged_by.login }}", + "head_sha": "${{ github.event.pull_request.merge_commit_sha }}" + } diff --git a/src/components/quickstart/PromptWorkflowView.tsx b/src/components/quickstart/PromptWorkflowView.tsx index 3f98681b..e78d4dec 100644 --- a/src/components/quickstart/PromptWorkflowView.tsx +++ b/src/components/quickstart/PromptWorkflowView.tsx @@ -91,10 +91,13 @@ export function PromptWorkflowView({ border-neutral-700 hover:border-neutral-600 `} /> -

+

Describe what you want your workflow to accomplish. Be specific about inputs, outputs, and any transformations.

+

+ Note: This feature currently only works with Gemini models. +

{/* Error */} diff --git a/src/components/quickstart/QuickstartInitialView.tsx b/src/components/quickstart/QuickstartInitialView.tsx index b9e4e6af..36eb3114 100644 --- a/src/components/quickstart/QuickstartInitialView.tsx +++ b/src/components/quickstart/QuickstartInitialView.tsx @@ -137,7 +137,7 @@ export function QuickstartInitialView({ /> } title="Prompt a workflow" - description="Describe what you want" + description="Get Gemini to build it" badge="Beta" /> diff --git a/src/components/quickstart/QuickstartTemplatesView.tsx b/src/components/quickstart/QuickstartTemplatesView.tsx index c109be9a..9e68fafe 100644 --- a/src/components/quickstart/QuickstartTemplatesView.tsx +++ b/src/components/quickstart/QuickstartTemplatesView.tsx @@ -118,6 +118,11 @@ export function QuickstartTemplatesView({ {/* Content */}
+ {/* Description */} +

+ Pre-built workflows to help you get started quickly. Select a template to load it into the canvas. +

+ {/* Quick Start Templates */}

@@ -310,6 +315,20 @@ export function QuickstartTemplatesView({ ))}

)} + + {/* Discord CTA */} +

+ Want to share your workflow?{" "} + + Join our Discord + {" "} + to submit it to the community templates. +

{/* Error */}