From a75cc04ac3b24e85674e5a195a9726cd7c2c09ef Mon Sep 17 00:00:00 2001 From: Anner Visser Date: Sun, 19 Feb 2023 19:15:28 +0100 Subject: [PATCH] Add branding --- README.md | 4 ++-- action.yml | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7ff645a..f568326 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,8 @@ The score is the total number of occurrences of `` blocks ### Outputs | Output | Description | |------------|-------------------------------------------------------------| -| base_score | Baseline score at base_ref (see #Inputs) | -| head_score | Baseline score at head_ref (see #Inputs) | +| base_score | Baseline score at base_ref | +| head_score | Baseline score at head_ref | | score_diff | Difference between the two scores (head_score - base_score) | ## Examples diff --git a/action.yml b/action.yml index 1c1821e..e95f9c7 100644 --- a/action.yml +++ b/action.yml @@ -1,16 +1,19 @@ name: 'Psalm baseline progress' description: 'Calculates psalm baseline diff' +branding: + icon: file-minus + color: purple inputs: base_ref: - description: 'git ref to base commit (Default: `{{github.event.pull_request.base.sha}}`)' + description: 'git ref to use for calculating the base_score' required: false default: '${{ github.event.pull_request.base.sha }}' head_ref: - description: 'git ref to head commit (Default: HEAD)' + description: 'git ref to use for calculating the head_score' required: false default: 'HEAD' path_to_baseline: - description: 'Path where the baseline file is located (Default: ./psalm-baseline.xml)' + description: 'Path to the baseline file' required: false default: './psalm-baseline.xml' outputs: