Skip to content

Commit

Permalink
fixed strings comparison in bash
Browse files Browse the repository at this point in the history
  • Loading branch information
VitaliyLitovskyiSecurrency committed Jul 22, 2021
1 parent c3c4df2 commit 6e2df9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/master-CI.yml
Expand Up @@ -174,12 +174,12 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Validate that only first PR is created
run: |
if [ "${{ steps.create-pr.outputs.created }}" -ne "true" ]
if [ "${{ steps.create-pr.outputs.created }}" != "true" ]
then
echo "First PR is not created: ${{ steps.create-pr.outputs.created }}"
exit 1
fi
if [ "${{ steps.second-create-pr.outputs.created }}" -ne "false" ]
if [ "${{ steps.second-create-pr.outputs.created }}" != "false" ]
then
echo "Second PR is created: ${{ steps.second-create-pr.outputs.created }}"
exit 1
Expand Down

0 comments on commit 6e2df9a

Please sign in to comment.