Skip to content

Commit

Permalink
Merge pull request #1336 from Homebrew/zizmor-template-injection
Browse files Browse the repository at this point in the history
workflows/tests: fix template-injection zizmor findings
  • Loading branch information
ZhongRuoyu authored Dec 15, 2024
2 parents bd28cac + 39b235f commit 818d77f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,18 @@ jobs:
--junit \
--only-json-tab \
--skip-dependents \
--testing-formulae=${{ steps.formulae-detect.outputs.testing_formulae }}
--testing-formulae="$TESTING_FORMULAE"
env:
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TESTING_FORMULAE: ${{ steps.formulae-detect.outputs.testing_formulae }}

- run: |
brew test-bot --only-formulae-dependents --junit \
--testing-formulae=${{ steps.formulae-detect.outputs.testing_formulae }} \
--skipped-or-failed-formulae=${{ steps.brew-test-bot-formulae.outputs.skipped_or_failed_formulae }}
--testing-formulae="$TESTING_FORMULAE" \
--skipped-or-failed-formulae="$SKIPPED_OR_FAILED_FORMULAE"
env:
TESTING_FORMULAE: ${{ steps.formulae-detect.outputs.testing_formulae }}
SKIPPED_OR_FAILED_FORMULAE: ${{ steps.brew-test-bot-formulae.outputs.skipped_or_failed_formulae }}
- name: Output brew test-bot failures
run: |
Expand Down

0 comments on commit 818d77f

Please sign in to comment.