-
Notifications
You must be signed in to change notification settings - Fork 308
Error reporting could be improved #2
Comments
Hi @iggy, Thanks for bringing this up! I wanted to respond briefly to let you know I'll be looking into this. I believe there is a way to see additional debug messages in your Action runner, but I need to verify how that works. Once that's done, I can try to add additional debug messaging that would allow you to see the full payload and response. This would be similar to a "log level" where you enable debug logs, then disable them later if you want to reduce the amount of "noise" in the output. I'll be taking a look this week to see what I can do! 🎉 |
Hey @iggy. Did some research and I think I found a solution for you. You can turn on additional debugging by adding the following two secrets to your repository's settings:
This will also give you additional logging for things like the payload that triggered the Workflow, which would be in the
These steps are documented in this repo, and there is some relevant help documentation as well. Let me know if that helps, and if you have more questions I'll see what I can do to throw additional debugging in. 👍 |
I consider this a serious bug rather than an enhancement request. |
Even with that I don't see any useful output: https://github.com/Trass3r/testgithubactionsrelease/runs/311483971 |
Any progress on this issue, its really unclear why this is failing
|
@jakelacey2012 I had the same issue, you can't have the tag name as same as a commit |
I have no idea what means "Not Found". And I'm pretty sure the tag is exists. I can even use something like |
@IAmHughes Is this output tell me something useful?
|
In my case the issue was related due to wrong token ussage (I created yet one in the secrets). You don't need to create your own token. |
I got the following
Could solve it with a different token with more access rights. Could you please document what kind of permissions the token needs and improve the error message so others don't run into the same problem. |
Maybe you're creating a duplicated name's release. I Change name to timestamp and works fine. |
@Cubxity Why can't you have a tag name the same as a commit? For CI/CD, you need a unique tag name to grab the assets for deployment on the other end, yet you can't necessarily use semantic versioning all the time if you're doing CI/CD in a dev environment multiple times a day. What unique identifier can you use the GitHub event? |
Received an answer from a GitHub employee on Twitter: You can use the |
(with
I was getting
Thanks to @Cubxity I fixed it by prefixing my release ID with
|
I tried @szul's research but it failed; maybe I misunderstood?
If you are using git tags, and only running this on |
@kousu Had to output it this way:
|
Amazing, thanks :) |
@sondreb's work from #29, https://github.com/sondreb/action-release, seems much more like what I want: I want to have an auto-generated draft release, always updated with the latest build, and then I want to manually switch it to published when I am satisfied at which point it should be frozen. |
body_path missing from action.yml
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
Actions
interface.The text was updated successfully, but these errors were encountered: