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 <[email protected]>
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 <[email protected]>

Signed-off-by: NSMBot <[email protected]>
  • Loading branch information
NSMBot committed Apr 1, 2024
1 parent 19c20ba commit 28e9c8e
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 28e9c8e

Please sign in to comment.