]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

fix: run pypi / docker upload from published draft releases (#2461)
authoraru <genericusername414@gmail.com>
Mon, 30 Aug 2021 17:26:21 +0000 (13:26 -0400)
committerGitHub <noreply@github.com>
Mon, 30 Aug 2021 17:26:21 +0000 (13:26 -0400)
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>
.github/PULL_REQUEST_TEMPLATE.md
.github/workflows/docker.yml
.github/workflows/pypi_upload.yml

index 36f98c527f49203a7174816be8bc3ff06fc6e817..833cd1641347f1a64d890a318362e2c21ae68478 100644 (file)
@@ -18,9 +18,9 @@
     Tests are required for bugfixes and new features. Documentation changes
     are necessary for formatting and most enhancement changes. -->
 
     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).
 
 <!-- Just as a reminder, everyone in all psf/black spaces including PRs
      must follow the PSF Code of Conduct (link below).
index 4bb41a1790667f2a7dbf0ebb10d6f391211bbc29..1686c561f50a46c3a3ff3233d32d221db03c2da1 100644 (file)
@@ -5,7 +5,7 @@ on:
     branches:
       - "main"
   release:
     branches:
       - "main"
   release:
-    types: created
+    types: [published]
 
 jobs:
   docker:
 
 jobs:
   docker:
index 5df91d9216576cb358c9166764c4dc681cfc2818..201d94fd85e931ce5e71cc9f38d1b5402e5f269b 100644 (file)
@@ -2,7 +2,7 @@ name: pypi_upload
 
 on:
   release:
 
 on:
   release:
-    types: created
+    types: [published]
 
 jobs:
   build:
 
 jobs:
   build: