Skip to content

Commit 0d330bd

Browse files
annab1cursoragentNtnelbabaelementorbot
authored
Internal: Move product pulse to shared elementor-editor-github-actions [ED-24831] (#36486)
## Summary - Replaces this repo's inline product-pulse workflow (merged in #36412, still on the unpatched version) with a thin caller of `elementor/elementor-editor-github-actions/actions/product-pulse` — see [elementor/elementor-editor-github-actions#42](elementor/elementor-editor-github-actions#42) - The generic prompt (goal, decision criteria, type classification, writing style, output format, examples) now lives in that action's shared `prompt-template.md`, since it was ~85% byte-identical to elementor-pro's copy - Passes `product-name: 'Elementor'` directly — no per-file-path product-area mapping; every pulse from this repo is simply tagged "Elementor" - Removes `.github/extract-pulse-json.py` (now lives in the shared action's `scripts/`) - Companion PR in elementor-pro: [elementor/elementor-pro#7275](elementor/elementor-pro#7275) ## Test plan - [ ] Merge a chore-only PR after this lands and confirm no Slack pulse is posted - [ ] Merge a feature/fix PR and confirm the Slack pulse fires tagged "Elementor" with the correct type-based header - [ ] Verify `elementor/elementor-editor-github-actions#42` is merged before merging this PR (the `@main` ref must resolve) <!--start_gitstream_placeholder--> ### ✨ PR Description ## 1. Problem & Context Extracting product pulse logic into a shared reusable GitHub Action (ED-24831) reduces duplication and maintenance burden across Elementor repositories. ## 2. What Changed (Where) * `.github/workflows/product-pulse.yml`: Replaced 270+ lines of inline bash/script logic with single composable action call; added `actions: read` permission * `.github/extract-pulse-json.py`: Removed (logic now encapsulated in shared action) ## 3. How It Works Workflow now delegates entire pipeline to `elementor/elementor-editor-github-actions/actions/product-pulse@main` via single step, passing PR metadata and secrets as inputs. Shared action owns PR fetching, Cursor API calls, JSON parsing, and Slack notifications. ## 4. Risks Action availability: shared action repo must stay stable/accessible. Credential management: ensure `elementor-editor-github-actions` repo has equivalent secret handling. No rollback plan if shared action breaks—mitigate with pinning to specific commit hash instead of `@main`. _Generated by LinearB AI and added by gitStream._ <sub>AI-generated content may contain inaccuracies. Please verify before using. 💡 **Tip:** You can customize your AI Description using **Guidelines** [Learn how](https://docs.gitstream.cm/automation-actions/#describe-changes)</sub> <!--end_gitstream_placeholder--> --------- Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Netanel Baba <50736016+Ntnelbaba@users.noreply.github.com> Co-authored-by: ElementorBot <48412871+elementorbot@users.noreply.github.com>
1 parent 9175820 commit 0d330bd

3 files changed

Lines changed: 8 additions & 453 deletions

File tree

.github/extract-pulse-json.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/product-pulse-prompt.md

Lines changed: 0 additions & 159 deletions
This file was deleted.

0 commit comments

Comments
 (0)