From 8675619a8570cc70362f80e87100f73811de0c88 Mon Sep 17 00:00:00 2001 From: Georg Teufelberger <55834264+tgeorg-ethz@users.noreply.github.com> Date: Fri, 3 May 2024 17:11:50 +0200 Subject: [PATCH] ci: Trigger on release instead of tag push (#13) Triggering from tag pushed from CI does not work as GitHub blocks it to prevent infinitely running actions or accidental retriggers. --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3a9d5d..ebfde90 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,7 @@ name: "Make release" on: - push: - tags: - - 'v*' + release: + types: [ created ] permissions: contents: write # Needed to write to GitHub draft release