cinderblock/Standalone Stats
Publish Allure test reports to a parallel branch of your repo (or a sibling repo) for self-contained pretty charts, trend graphs, and README badges - with no third-party service required.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| data-branch | Branch that stores the cumulative allure-results directory + history. | no | allure-data |
| data-repo | Repository (`owner/name`) to store cumulative allure-results in. Default is the current repository. If set to a sibling repo, a PAT with `repo` scope must be supplied via `token`. | no | "" |
| data-path | Subdirectory inside data-branch where the cumulative results live. | no | "" |
| pages-branch | Branch that stores the rendered allure-report (typically served by GitHub Pages). | no | gh-pages |
| pages-repo | Repository (`owner/name`) to store the rendered report in. Default is the current repository. If set to a sibling repo, a PAT with `repo` scope must be supplied via `token`. | no | "" |
| pages-path | Subdirectory inside pages-branch where the rendered report is placed. | no | "" |
| results-dir | Directory containing this run's freshly generated allure-results JSON. | no | allure-results |
| token | Token used to push to data-branch and pages-branch. Defaults to the workflow's GITHUB_TOKEN (sufficient for same-repo mode). For sibling-repo mode, supply a PAT with `repo` scope. | no | ${{ github.token }} |
| commit-name | Git user.name used for stats commits. | no | github-actions[bot] |
| commit-email | Git user.email used for stats commits. | no | 41898282+github-actions[bot]@users.noreply.github.com |
| commit-message | Commit message used on both data-branch and pages-branch. | no | standalone-stats: publish run ${{ github.run_id }}/${{ github.run_attempt }} |
| allure-version | Pinned version of the allure-commandline npm package used to generate the report. | no | 2.30.0 |
| auto-create-sibling-repos | If true and a configured sibling repo doesn't exist, create it via the GitHub REST API (requires `token` with `repo` scope, plus `admin:org` if creating in an organization). | no | true |
| sibling-repo-visibility | Visibility for auto-created sibling repos. One of `public` or `private`. Note: GitHub Pages on a private repo requires a paid plan. | no | public |
Outputs
| name | description |
|---|---|
| pages-url | HTTPS URL where the rendered allure report is served. |
| badge-markdown | Pre-built Markdown snippet linking the badge SVG to the rendered report. |
| data-branch-ref | Full ref (`refs/heads/<branch>`) of the data branch that was updated. |
| pages-branch-ref | Full ref (`refs/heads/<branch>`) of the pages branch that was updated. |