Skip to content

Commit

Permalink
ci(BA-434): Graceful exit if committed directly to main (#3351)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaminyam authored Jan 2, 2025
1 parent 886f8c1 commit 6a34217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:


backport:
if: ${{ needs.get-backport-target-branch.outputs.matrix != '[]' }}
if: ${{ needs.get-backport-target-branch.outputs.matrix != '[]' && needs.get-backport-target-branch.outputs.matrix != '' }}
runs-on: ubuntu-latest
needs: get-backport-target-branch
strategy:
Expand Down

0 comments on commit 6a34217

Please sign in to comment.