From 82385e2bf84ea68325a357b70af5f8bde3d8868d Mon Sep 17 00:00:00 2001 From: minh-bq <97180373+minh-bq@users.noreply.github.com> Date: Thu, 12 Oct 2023 17:07:30 +0700 Subject: [PATCH] github/workflows: fix the release workflow (#366) Currently, when publishing a new release using Github UI, we trigger 3 release workflows. It looks like that 3 action types: created, published, released trigger the workflow. This commit restricts the release workflow to run on published activity type only. Reference: - https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release - https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=published#release --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3017be80e..8e054ab6ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,7 @@ name: release on: release: + types: [published] tags: - v*.*.*