fix: run pypi / docker upload from published draft releases (#2461)

Draft releases don't trigger the workflows (that's good!) but since they only 

Commit history before merge:

* fix: run pypi upload from published draft releases
* Fix broken task list markup in PR template
* change docker workflow to build on release publish

Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
This commit is contained in:
aru 2021-08-30 13:26:21 -04:00 committed by GitHub
parent a8b4665e7d
commit 79575f3376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -18,9 +18,9 @@
Tests are required for bugfixes and new features. Documentation changes
are necessary for formatting and most enhancement changes. -->
- [] Add a CHANGELOG entry if necessary?
- [] Add / update tests if necessary?
- [] Add new / update outdated documentation?
- [ ] Add a CHANGELOG entry if necessary?
- [ ] Add / update tests if necessary?
- [ ] Add new / update outdated documentation?
<!-- Just as a reminder, everyone in all psf/black spaces including PRs
must follow the PSF Code of Conduct (link below).

View File

@ -5,7 +5,7 @@ on:
branches:
- "main"
release:
types: created
types: [published]
jobs:
docker:

View File

@ -2,7 +2,7 @@ name: pypi_upload
on:
release:
types: created
types: [published]
jobs:
build: