From 29689d62803aacfdc94b5023f390d99ce2398c55 Mon Sep 17 00:00:00 2001 From: Sophie Date: Tue, 24 Jan 2023 18:32:07 -0800 Subject: [PATCH] Trigger publish only after generating changelogs --- .github/workflows/changelog.yml | 2 +- .github/workflows/marketplace-publish.yml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 0e07e35..6310540 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -1,4 +1,4 @@ -name: Generate changelog +name: Generate Changelog on: release: types: [created, edited] diff --git a/.github/workflows/marketplace-publish.yml b/.github/workflows/marketplace-publish.yml index f3d2a90..bec72ee 100644 --- a/.github/workflows/marketplace-publish.yml +++ b/.github/workflows/marketplace-publish.yml @@ -1,8 +1,10 @@ name: Publish Extension on: - release: - types: [published] + workflow_run: + workflows: ['Generate Changelog'] + types: + - completed jobs: build: