Skip to content

Commit

Permalink
Merge pull request #5 from annervisser/branding
Browse files Browse the repository at this point in the history
Add branding
  • Loading branch information
annervisser committed Feb 19, 2023
2 parents 8795b4e + a75cc04 commit a98f011
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ The score is the total number of occurrences of `<code></code>` 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
Expand Down
9 changes: 6 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit a98f011

Please sign in to comment.