Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/post-release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ jobs:
pro_zip_available: ${{ steps.verify.outputs.pro-zip-path != '' }}
steps:
- name: Checkout this repository
if: github.event_name != 'workflow_call'
if: github.repository == 'elementor/elementor-editor-github-actions'
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Checkout post-release actions
if: github.event_name == 'workflow_call'
if: github.repository != 'elementor/elementor-editor-github-actions'
uses: actions/checkout@v4
with:
repository: elementor/elementor-editor-github-actions
Expand Down Expand Up @@ -151,13 +151,13 @@ jobs:
|| needs.verify-published.outputs.pro_zip_available == 'true')
steps:
- name: Checkout this repository
if: github.event_name != 'workflow_call'
if: github.repository == 'elementor/elementor-editor-github-actions'
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Checkout post-release actions
if: github.event_name == 'workflow_call'
if: github.repository != 'elementor/elementor-editor-github-actions'
uses: actions/checkout@v4
with:
repository: elementor/elementor-editor-github-actions
Expand Down
2 changes: 2 additions & 0 deletions actions/post-release-verify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Changelog prose is dumped on the job summary for a quick human read. The action

Add a thin workflow in `elementor` / `elementor-pro` that `uses` this repo. `actions_ref` is required and must be the **same git ref** as the `uses:` pin. After this workflow is on `main`, that ref is `main`.

In the reusable workflow, `github.event_name` is the **caller's** event (e.g. `workflow_dispatch`). Checkout of this repo is keyed off `github.repository`, not `workflow_call`.

Merge this repo first. Core/Pro callers that pin `@main` will fail until then.

This repo must allow GitHub Actions access from other Elementor repositories (Settings → Actions → General → Access).
Expand Down
Loading