Skip to content

Commit

Permalink
ci: Graceful exit if committed directly to main
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaminyam committed Jan 2, 2025
1 parent df19aa6 commit 78173c5
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 78173c5

Please sign in to comment.