1
0
Fork 0
mirror of https://github.com/dorny/test-reporter.git synced 2026-03-21 23:52:12 +01:00

feat: added a slug-prefix parameter for link anchors

Motivation: when using a matrix job, or more than one kind of tests in a same workflow, we can end up with multiple summaries at the same time. This will lead to multiple anchors and html id that will no longer be unique.
This prefix option allow to disambiguate those anchors ; and keep them functional.
This commit is contained in:
Thomas Durand 2026-03-05 01:52:45 +01:00
parent 3d76b34a45
commit 7f0723a953
No known key found for this signature in database
GPG key ID: 68F13AD8CF49EEEB
7 changed files with 49 additions and 4 deletions

View file

@ -88,6 +88,10 @@ inputs:
https://github.com/orgs/github/teams/engineering/discussions/871
default: 'true'
required: false
slug-prefix:
description: Prefix used when generating report anchor slugs
required: false
default: ''
badge-title:
description: Customize badge title
required: false