We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b83bb24 + ef288c1 commit 872d05aCopy full SHA for 872d05a
.github/workflows/publish-commit-bottles.yml
@@ -149,9 +149,10 @@ jobs:
149
150
if [[ "$bottles" = "true" ]]
151
then
152
- if jq --exit-status 'any(.[].filename; startswith("Formula/")) | not'
+ array_has_unremoved_formulae_filter='any((.filename | startswith("Formula/")) and (.status != "removed"))'
153
+ if jq --exit-status ". | $array_has_unremoved_formulae_filter | not"
154
- echo '::notice ::PR does not modify formulae; no bottles to publish.'
155
+ echo '::notice ::PR does not add or modify formulae; no bottles to publish.'
156
bottles=false
157
fi < <(
158
gh api \
0 commit comments