Skip to content

Commit

Permalink
Try a different first...
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Jul 19, 2024
1 parent 435f60a commit a23b6ec
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/Restyler/RestyleResult.hs
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,16 @@ setRestylerResultOutputs =
appendGitHubOutputs . \case
RestyleSuccessDifference config pr results ->
let details = restyledPullRequestDetails config pr results
in [ "differences=true"
, "restyled-base=" <> details.base
, "restyled-head=" <> details.head
, "restyled-title=" <> details.title
, "restyled-body<<EOM\n" <> details.body <> "\nEOM"
, "restyled-labels=" <> mcsv details.labels
, "restyled-reviewers=" <> mcsv details.reviewers
, "restyled-team-reviewers=" <> mcsv details.teamReviewers
]
in ["restyled-base=" <> details.base]
-- in [ "differences=true"
-- , "restyled-base=" <> details.base
-- , "restyled-head=" <> details.head
-- , "restyled-title=" <> details.title
-- , "restyled-body<<EOM\n" <> details.body <> "\nEOM"
-- , "restyled-labels=" <> mcsv details.labels
-- , "restyled-reviewers=" <> mcsv details.reviewers
-- , "restyled-team-reviewers=" <> mcsv details.teamReviewers
-- ]
_ -> ["differences=false"]
where
mcsv :: Maybe (NonEmpty Text) -> Text
Expand Down

0 comments on commit a23b6ec

Please sign in to comment.