release-drafter: Release drafter doesn't find existing draft
It seems release-drafter can’t find a draft to update anymore.
I have 9 releases in my repo and 1 draft.
release-drafter logs Found 9 releases and then No draft release found
The first log should include all the releases, even draft. So I should see Found 10 releases.
I don’t have a filter by commitish and even so, the first log happens before releases are filtered.
Right now, every time the action is running, a new draft is created in the repo.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 21
- Comments: 21 (12 by maintainers)
Everything should work again. I had a chat with a GitHub staff member earlier:
I can verify it works again, I just had to delete the duplicated drafts to tidy the mess up, but release drafter edits the latest draft fine again.
I also confirm bug is gone for us @NotMyFault thanks
Yeah that’s my bad, I was searching why it wouldn’t match my “target commitish” but that PR has nothing to do with it, turns out the action no longer receives draft releases.
When I try “listReleases” via the action with some debugging I get:
When I do “listReleases” using my own token: