feat: add shared invalidate-changelog-cache composite action [ED-25349] - #50
Open
Ntnelbaba wants to merge 1 commit into
Open
feat: add shared invalidate-changelog-cache composite action [ED-25349]#50Ntnelbaba wants to merge 1 commit into
Ntnelbaba wants to merge 1 commit into
Conversation
Open
4 tasks
Ntnelbaba
commented
Aug 24, 2026
| run: | | ||
| set -euo pipefail | ||
|
|
||
| if [ -z "${INVALIDATE_TOKEN}" ] || [ "${INVALIDATE_TOKEN}" = "REPLACE_ME" ]; then |
Contributor
Author
There was a problem hiding this comment.
What is this replace me?
Contributor
Author
There was a problem hiding this comment.
Removed REPLACE_ME — it was only a placeholder value when the repo secret was first created, not something workflows should check for. The action now skips only when the secret is empty.
Also addressed the bot feedback in the same commit: --max-time 60, per-type failures no longer abort the loop, and workflows can pass an explicit types input to split beta/dev invalidation.
Ntnelbaba
force-pushed
the
chore/invalidate-changelog-cache-action
branch
from
August 24, 2026 16:31
cdf8210 to
043ecd1
Compare
Add a composite action that POSTs to the public elementor.com changelog cache invalidate endpoint with an api-key header. Supports explicit types for split beta/dev invalidation, curl timeout, and per-type failure tolerance. Ref: ED-25349 Co-authored-by: Cursor <cursoragent@cursor.com>
Ntnelbaba
force-pushed
the
chore/invalidate-changelog-cache-action
branch
from
August 24, 2026 16:32
043ecd1 to
26e810f
Compare
davseve
approved these changes
Aug 25, 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.
Jira
https://elementor.atlassian.net/browse/ED-25349
Summary
actions/invalidate-changelog-cache, a composite action that POSTs to the marketing-plugins cache invalidate endpoint after a release.https://elementor.com/wp-json/elementor-site-product-changelog/v1/cache/invalidateapi-keyfrom repo secretELEMENTOR_SITE_CHANGELOG_CACHE_INVALIDATE_API_KEY(WAF validation, same pattern as GlotPressimport-originals).typesinput for split beta/dev invalidation,curl --max-time 60, and per-type failure tolerance.Consumers
Merge this first; consumer PRs reference
@main.Secret setup
Set
ELEMENTOR_SITE_CHANGELOG_CACHE_INVALIDATE_API_KEYinelementor/elementorandelementor/elementor-pro.Test plan
@mainresolves.api-keyheader.✨ PR Description
1. Problem & Context
Automates the clearing of product changelog transients on Elementor.com to ensure users see updated release notes immediately after a deployment.
2. What Changed (Where)
actions/invalidate-changelog-cache/action.yml: Created a composite action to handle cache invalidation requests.3. How It Works
channelto specifictypes(or usestypesdirectly) and iterates through them.curl.set -euo pipefailand--failfor basic error handling during execution.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