From ae7310b95cd79124c5ec4246c195e74a61928ebe Mon Sep 17 00:00:00 2001 From: Sophie Dankel <47993817+sdankel@users.noreply.github.com> Date: Tue, 24 Jan 2023 18:40:48 -0800 Subject: [PATCH] Trigger publish only after generating changelog (#127) 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: