Repository navigation
feat: add build-allure-report composite action - #66
Merged
Merged
Conversation
Co-authored-by: Netanel Baba <Ntnelbaba@users.noreply.github.com>
Co-authored-by: Netanel Baba <Ntnelbaba@users.noreply.github.com>
|
|
||
| - name: GCP Authentication | ||
| if: inputs.gcs-upload == 'true' | ||
| uses: google-github-actions/auth@v2 |
Contributor
Author
There was a problem hiding this comment.
Follows the repo convention, nothing here is SHA-pinned. Not changing it in this PR.
|
|
||
| - name: Install gcloud CLI | ||
| if: inputs.gcs-upload == 'true' && inputs.gcs-dest == 'main' | ||
| uses: google-github-actions/setup-gcloud@v3 |
Contributor
Author
There was a problem hiding this comment.
Follows the repo convention, nothing here is SHA-pinned. Not changing it in this PR.
| - name: Upload Allure report to GCP bucket | ||
| id: gcs_upload | ||
| if: inputs.gcs-upload == 'true' && hashFiles('allure-report/**') != '' | ||
| uses: google-github-actions/upload-cloud-storage@v3 |
Contributor
Author
There was a problem hiding this comment.
Follows the repo convention, nothing here is SHA-pinned. Not changing it in this PR.
Co-authored-by: Netanel Baba <Ntnelbaba@users.noreply.github.com>
Svitlana-Dykun
approved these changes
Nov 3, 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
Adds
actions/build-allure-report, a composite action that centralizes the shared Playwright Allure report pipeline used by Elementor Core and Elementor Pro: download merged result artifacts, optional preprocess/categories,npx allure-commandlinegenerate, workflow artifact upload, and optional GCS publish with main-branch history restore.Additive only — no changes to existing actions or workflows. Fork/untrusted-PR guards stay in Core’s caller (via
gcs-upload: false); the action only runs GCP whengcs-uploadis true.Inputs
results-patterndownload-artifactpreprocess-command''categories-file''allure-results/categories.jsonwhen setgcs-uploadtruefalsegcs-bucket''gs://gcs-dest''mainrestoresmain/historygcp-project-number''gcp-project-id''report-url-base''artifact-nameallure-reportallure-version2.41.0allure-commandlineversionfail-on-upload-errorfalseOutputs
report-dir— generated HTML directory (allure-report)uploaded—truewhen GCS upload succeededCallers check out the repo first and set
contents: read,id-token: write, andactions: read.✨ PR Description
1. Problem & Context
Introduces a reusable composite action to standardize Allure report generation and GCS publishing across Playwright CI workflows.
2. What Changed (Where)
actions/build-allure-report/action.yml: New composite action definition.actions/build-allure-report/README.md: Documentation and usage examples.3. How It Works
Downloads results based on a glob pattern, runs an optional preprocess command, generates the report via
npx allure-commandline, and optionally syncs history and uploads the final HTML to GCS.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