Skip to content

Commit

Permalink
Add a skipped output
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Jul 23, 2024
1 parent 28d2d1e commit 8bb26cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions actions/run/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ outputs:
value: ${{ steps.restyler.outputs.restyled-reviewers }}
restyled-team-reviewers:
value: ${{ steps.restyler.outputs.restyled-team-reviewers }}
skipped:
value: ${{ steps.restyler.outputs.skipped }}

runs:
using: composite
Expand Down
1 change: 1 addition & 0 deletions src/Restyler/RestyleResult.hs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ setRestylerResultOutputs =
in [ "differences=false"
, "restyled-base=" <> outputs.base
, "restyled-head=" <> outputs.head
, "skipped=true"
]
RestyleSuccessNoDifference config pr _ ->
let outputs = restylerOutputs config pr []
Expand Down

0 comments on commit 8bb26cd

Please sign in to comment.