westerveltco / django-twc-package

A Django package template for The Westervelt Company
MIT License
4 stars 1 forks source link

Release GitHub Action does not work if release starts as draft #49

Closed joshuadavidthomas closed 9 months ago

joshuadavidthomas commented 1 year ago

https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release

https://github.com/orgs/community/discussions/7118

joshuadavidthomas commented 9 months ago

I do not know if these are new, but there are a handful of trigger events that should accomplish this:

https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release

First saw this in the actions/setup-node release workflow for tagging the major version whenever there's a new release: https://github.com/actions/setup-node/blob/main/.github/workflows/release-new-action-version.yml