fix: checkout actions repo when called from Core or Pro [ED-25263] - #54
Merged
Merged
Conversation
github.event_name in a reusable workflow is the caller event, so dispatch from Pro checked out elementor-pro and missed install-deps. Co-authored-by: Cursor <cursoragent@cursor.com>
2 tasks
Ntnelbaba
approved these changes
Sep 15, 2026
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.
Summary
github.event_nameis the caller event (workflow_dispatchfrom Pro), so checkout used Pro's tree and./.github/actions/install-depswas missing.github.repositoryiselementor/elementor-editor-github-actions; otherwise clone it atactions_ref.Test plan
elementor-editor-github-actionsand get past Install Dependencies.Made with Cursor
✨ PR Description
1. Problem & Context
Fixes ED-25263 where using
github.event_name == 'workflow_call'failed to trigger the correct repository checkout because the context refers to the caller's event.2. What Changed (Where)
.github/workflows/post-release-check.yml: Replaced event-based checkout logic withgithub.repositorychecks.actions/post-release-verify/README.md: Documented the change in event context behavior.3. How It Works
The workflow now checks if the current execution repository is the actions repo itself; if not, it explicitly checks out the
elementor-editor-github-actionsrepository to ensure necessary scripts are available regardless of the trigger event.Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how