feat: "draft" releases #56
Labels
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
actions/forgejo-release#56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Having the action immediately create a release is really inconvenient, especially since in my case we have a somewhat different release workflow where I upload it externally rather than locally hosting it here.
Could you please explain the use case in detail? Bullet points of chronologically ordered actions would be fine.
In the future, I plan to move my release workflow to GitHub Actions, but that itself is risky for us; having Forgejo be a direct option for handling our release workflow is always helpful here.
Also worth mentioning that in the short time between me downloading and deleting the artifacts, our server gets FLOODED with traffic as everyone flocks to download it. Having an option to make it a draft release also solves this issue since I'm the only one who can access it.
It is crystal clear.
FWIW, here is how the Forgejo project itself organizes release management. The key is to have dedicated integration and exprimental organizations.
It roughly goes like this:
I recently "solved" this by moving everything to GitHub actions triggered by webhooks (and now I don't have to murder my poor CI computers lol).
Though this is not a permanent solution since my CI repo on GitHub is in fact in danger due to the nature of our project.
Bump, I have a much different use case but a draft release would be really good.
Current workflow is:
Do you have a publicly available URL where this workflow can be seen?
It seems that it is different from what @crueter originally asked, which was to have private releases (not visible). This is a feature Forgejo does not currently have. I described how the Forgejo project manages the preparation of releases, which is in part by using private repositories or organizations. This not only addresses the need described by this question but also the need of releases that involve packages in addition to release artifacts managed by this action.
I am going to close this question as being answered. If you think it is worth pursuing the idea of having private releases, please open a feature request at Forgejo.
@bacon if you have a different use case, could you please open a new issue? It is best to not confuse this use case with yours so they can be discussed separately 🙏
For further clarity, I have a similar use case of draft releases, not necessarily "private" ones.
feat: allow for private/draft releasesto feat: "draft" releasesI as well have similar use case. Using the action to prepare a release, but before publishing, I check things, and manually add a description and release notes.
Also for consideration:
draftoption.As temporary work-around, I use @crueter 's branch in my yaml, and (for my case) it works fine:
uses: https://code.forgejo.org/crueter/forgejo-release@draft