This repository was archived by the owner on Mar 4, 2021. It is now read-only.
Description I looked at the code for this action, but I'm not great with the javascript, so not sure I can fix it myself.
When I use this action in one of my workflows and the action receives an error from the github API, it doesn't bubble enough info from the API.
f.ex.
Create Release
Run actions/create-release@v1.0.0
with:
tag_name: 7e80c809f34b653a75d675520a69e3295861f68a
release_name: Release 7e80c809f34b653a75d675520a69e3295861f68a
draft: false
prerelease: false
env:
GOROOT: /opt/hostedtoolcache/go/1.12.10/x64
GITHUB_TOKEN: ***
##[error]Validation Failed
##[error]Node run failed with exit code 1
From what I can tell the API should be returning an HTTP status code along with a JSON body that has more info like so
422 Validation Failed [{Resource:Release Field:target_commitish Code:invalid Message:}]
It would be nice if the content of that JSON body could somehow be bubbled up to the user in the Actions interface.
Reactions are currently unavailable
I looked at the code for this action, but I'm not great with the javascript, so not sure I can fix it myself.
When I use this action in one of my workflows and the action receives an error from the github API, it doesn't bubble enough info from the API.
f.ex.
From what I can tell the API should be returning an HTTP status code along with a JSON body that has more info like so
It would be nice if the content of that JSON body could somehow be bubbled up to the user in the
Actionsinterface.