Skip to content

Commit ac98e7f

Browse files
authored
fix comparison used to determine change in invalidations (#20)
1 parent d4ddb95 commit ac98e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
echo "Invalidations on default branch: ${{ steps.invs_default.outputs.total }} (${{ steps.invs_default.outputs.deps }} via deps)" >> $GITHUB_STEP_SUMMARY
5555
echo "This branch: ${{ steps.invs_pr.outputs.total }} (${{ steps.invs_pr.outputs.deps }} via deps)" >> $GITHUB_STEP_SUMMARY
5656
- name: Check if the PR does increase number of invalidations
57-
if: steps.invs_pr.outputs.total > steps.invs_default.outputs.total
57+
if: ${{ fromJSON(steps.invs_pr.outputs.total) > fromJSON(steps.invs_default.outputs.total) }}
5858
run: exit 1
5959
```
6060

0 commit comments

Comments
 (0)