Closed FBoucher closed 3 years ago
Hi @FBoucher, yeah, I'm afraid that it's normal that this action doesn't return drafts. If I understand correctly the drafts are only visible to an authenticated user. Since this action doesn't currently take authentication credentials it's not possible to see the drafts.
When implementing the code to exclude the drafts I thought it might be a case that I needed to handle but I don't think drafts are ever returned.
I wanted to mention: https://github.com/rez0n/actions-github-release by @rez0n might work for you. It accepts a Github auth token so it may be able to give you draft releases.
Thanks @neil-pozetroninc I found it and I'm using it. It works perfectly.
The latest release is a draft but is never returned. I also tried with only a draft and it doesn't return anything. I get the message "No valid releases"