From 2cadd7fd820e3b03e703b8158a3faae48dae3e20 Mon Sep 17 00:00:00 2001 From: doronz Date: Thu, 7 Sep 2023 13:41:58 +0300 Subject: [PATCH] ci: make `python-publish.yml` only occur on release --- .github/workflows/python-publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 3bee161..08af5a3 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -4,7 +4,9 @@ name: Upload Python Package -on: [push, pull_request, workflow_dispatch] +on: + release: + types: [created] jobs: