scheduled: do not test disabled or deprecated

master
Sean Molenaar 2023-01-14 11:50:25 +01:00
parent 154b1e7a30
commit 03aad98e77
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ jobs:
- id: matrix
run: |
formula=$(find $(brew --repo "${TAP}")/Formula | shuf -n "${TEST_COUNT}" | xargs -I{} basename {} .rb)
json=$(brew info --json=v2 $formula | jq --compact-output '[.formulae[].name]')
json=$(brew info --json=v2 $formula | jq --compact-output '[.formulae[] | select(.deprecated == false and .disabled == false) | .name]')
echo "json=${json}" >> $GITHUB_OUTPUT
audit_online:
if: startsWith( github.repository, 'Homebrew/' )