action-semantic-pull-request icon indicating copy to clipboard operation
action-semantic-pull-request copied to clipboard

Add outputs so this action can be composed

Open kunaltyagi opened this issue 3 years ago • 7 comments

Eg: post the expected pattern as a comment

kunaltyagi avatar Apr 22 '22 09:04 kunaltyagi

Hello @kunaltyagi!

I'm sorry, I don't understand the request. Can you elaborate in a bit more detail?

amannn avatar Apr 25 '22 06:04 amannn

If the action fails, I wish to use another action to create a comment to help the user understand how the PR title should be formatted. Hopefully, this makes sense

kunaltyagi avatar May 10 '22 01:05 kunaltyagi

Interesting, I see. Do you have some background on how that works?

amannn avatar May 10 '22 06:05 amannn

Theres this via the shell. For using actions/core, there's this API

kunaltyagi avatar May 14 '22 08:05 kunaltyagi

This Action performs what I think the OP is requesting. I think the notion of commenting examples or suggesting a title would be useful as I usually have to resolve failures of this Action by myself.

jthegedus avatar Jun 27 '22 04:06 jthegedus

Right now this action prints a pretty helpful error message to the console:

Screenshot from 2022-06-29 06-54-59

It would be nice if this action provides the same error message as an output of this GitHub Action so that I can use this error message in other steps in my workflow.

kevgo avatar Jun 29 '22 11:06 kevgo

I see, thanks for the link! If you're interested in working on this, I'd be open to a contribution of this feature.

amannn avatar Jun 29 '22 12:06 amannn

:tada: This issue has been resolved in version 4.6.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Sep 26 '22 08:09 github-actions[bot]