Skip to content

Commit

Permalink
Merge pull request #249 from NikitaSkrynnik/release-workflow
Browse files Browse the repository at this point in the history
Run release workflow only when CI passes on release branches
  • Loading branch information
denis-tingaikin authored Apr 10, 2024
2 parents 42dfb68 + f69e83a commit 249cecc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- completed
workflows:
- "ci"
branches:
- release/*
jobs:
print-debug-info:
name: Print debug info for Release workflow
Expand All @@ -15,7 +17,7 @@ jobs:

create-release:
name: Create release
if: ${{ github.event.workflow_run.conclusion == 'success' && contains(github.event.workflow_run.head_branch, 'release/') }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: networkservicemesh/.github/.github/workflows/release.yaml@main
secrets:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 249cecc

Please sign in to comment.