Skip to content

Commit

Permalink
use expression for if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
codingkarthik committed Sep 2, 2024
1 parent 9247ba5 commit 96a71ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/registry-updates-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
return approved;
- name: Cancel if not approved
if: steps.check-approval.outputs.approved == 'false'
if: ${{ steps.check-approval.outputs.approved == "false" }}
run: |
echo "************ check-approval {{ steps.check-approval.outputs.approved }}"
echo "The PR has not been approved. Cancelling the workflow."
Expand Down

0 comments on commit 96a71ab

Please sign in to comment.