We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 778a563 commit ba86adaCopy full SHA for ba86ada
.github/workflows/Invalidations.yml
@@ -36,5 +36,7 @@ jobs:
36
echo "Invalidations on default branch: ${{ steps.invs_default.outputs.total }} (${{ steps.invs_default.outputs.deps }} via deps)" >> $GITHUB_STEP_SUMMARY
37
echo "This branch: ${{ steps.invs_pr.outputs.total }} (${{ steps.invs_pr.outputs.deps }} via deps)" >> $GITHUB_STEP_SUMMARY
38
- name: Check if the PR does increase number of invalidations
39
- if: steps.invs_pr.outputs.total > steps.invs_default.outputs.total
40
- run: exit 1
+ run: |
+ if [ ${{ steps.invs_pr.outputs.total }} -gt ${{ steps.invs_default.outputs.total }} ]; then
41
+ exit 1
42
+ fi
0 commit comments