From 6efb244f36599f379da355d368a53e7b5e8e376a Mon Sep 17 00:00:00 2001 From: Juansecu Date: Sat, 24 Feb 2024 22:44:48 -0500 Subject: [PATCH] BUILD - Add conditions to run necessary workflows before releasing the application --- .github/workflows/create-release.yml | 5 +++++ .github/workflows/release-docker-image.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 51af42a..69d334e 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -1,6 +1,11 @@ name: Create Release on: + workflow_run: + types: + - completed + workflows: + - Check Linter Errors push: tags: - 'v*.*.*' diff --git a/.github/workflows/release-docker-image.yml b/.github/workflows/release-docker-image.yml index 00841da..2dd3316 100644 --- a/.github/workflows/release-docker-image.yml +++ b/.github/workflows/release-docker-image.yml @@ -5,7 +5,7 @@ on: types: - completed workflows: - - Check Linter Errors + - Create Release release: types: [published]