From 8cabc795a7f42b370d2345522554e823696cc94d Mon Sep 17 00:00:00 2001 From: NSMBot Date: Mon, 1 Apr 2024 10:06:20 +0000 Subject: [PATCH] Sync files with networkservicemesh/cmd-template This PR syncs files with https://github.com/networkservicemesh/cmd-template Revision: https://github.com/networkservicemesh/cmd-template/commits/6ff9c6645e2779730e2fa0e738c4e687cef95930 commit 6ff9c6645e2779730e2fa0e738c4e687cef95930 Author: Nikita Skrynnik <93182827+NikitaSkrynnik@users.noreply.github.com> Date: Mon Apr 1 17:05:29 2024 +0700 run release workflow only when CI is completed for release branches (#128) Signed-off-by: NikitaSkrynnik Signed-off-by: NSMBot --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 72f9cd6..e595978 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,11 +7,13 @@ on: - completed workflows: - "ci" + branches: + - release/* jobs: get-tag: name: Get tag runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' && contains(github.event.workflow_run.head_branch, 'release/') }} + if: ${{ github.event.workflow_run.conclusion == 'success' }} outputs: tag: ${{ steps.get-tag-step.outputs.tag }} steps: