Skip to content

Commit

Permalink
Sync files with networkservicemesh/cmd-template
Browse files Browse the repository at this point in the history
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 <nikita.skrynnik@xored.com>

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
  • Loading branch information
NSMBot committed Apr 1, 2024
1 parent ec8e968 commit 8cabc79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8cabc79

Please sign in to comment.