Skip to content

Commit

Permalink
Merge pull request #3693 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 11, 2024
2 parents 9f43b10 + bb1f6e9 commit 49fbd4e
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 @@ -16,7 +18,7 @@ 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 49fbd4e

Please sign in to comment.