From 4c4ee1b88cd9e2fd06fa6406196706ea61b7575e Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Sun, 27 Nov 2022 13:15:37 +0300 Subject: [PATCH] fix: `packages.yaml` action is not running on `release` trigger This commit is a workaround to run the `packages.yaml` action after the release action Fixes #5137. Check #5137 for context. --- .github/workflows/packages.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/packages.yaml b/.github/workflows/packages.yaml index d5e86fea37d2d..ba39d8b77bffc 100644 --- a/.github/workflows/packages.yaml +++ b/.github/workflows/packages.yaml @@ -1,8 +1,9 @@ name: Submit Packages on: - release: - types: [published] - + workflow_run: + workflows: [release] + types: + - completed env: CODER_VERSION: "${{ github.event.release.tag_name }}"