Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Commit

Permalink
Fix allow_merge (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
djorgensendk authored Oct 28, 2022
1 parent b9f1321 commit 941333d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,14 @@ jobs:
dotnet_ci_test_unittests
]
if: |
always() &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled')
always()
steps:
- run: echo "${{ toJSON(needs) }}"
- name: Verify if merge is allowed
run: |
echo "${{ toJSON(needs) }}"
if [[ ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }} = true ]]; then
echo "Failed"
exit 1
fi

0 comments on commit 941333d

Please sign in to comment.