Skip to content

fix: checkout actions repo when called from Core or Pro [ED-25263] - #54

Merged
Svitlana-Dykun merged 1 commit into
mainfrom
fix/post-release-caller-checkout
Sep 15, 2026
Merged

Svitlana-Dykun merged 1 commit into
mainfrom
fix/post-release-caller-checkout

Conversation

@Svitlana-Dykun

@Svitlana-Dykun Svitlana-Dykun commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Reusable workflow github.event_name is the caller event (workflow_dispatch from Pro), so checkout used Pro's tree and ./.github/actions/install-deps was missing.
  • Checkout this repo when github.repository is elementor/elementor-editor-github-actions; otherwise clone it at actions_ref.
  • Failed run: https://github.com/elementor/elementor-pro/actions/runs/34816719992

Test plan

  • Merge this, then re-run Pro Post-Release Check (same dispatch). Verify job should check out elementor-editor-github-actions and get past Install Dependencies.
  • Dispatch Post-Release Check on this repo itself still checks out the current repo.

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 with github.repository checks.
  • 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-actions repository 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

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>
@Svitlana-Dykun Svitlana-Dykun changed the title fix: checkout actions repo when called from Core or Pro [ED-25263] Fix: checkout actions repo when called from Core or Pro [ED-25263] Sep 15, 2026
@Svitlana-Dykun Svitlana-Dykun changed the title Fix: checkout actions repo when called from Core or Pro [ED-25263] fix: checkout actions repo when called from Core or Pro [ED-25263] Sep 15, 2026
@Svitlana-Dykun
Svitlana-Dykun merged commit e233352 into main Sep 15, 2026
19 of 20 checks passed
@Svitlana-Dykun
Svitlana-Dykun deleted the fix/post-release-caller-checkout branch September 15, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants