From 04036fe2df1abec7d84a7153ff0c43d787322321 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Sun, 15 Dec 2024 19:38:08 -0500 Subject: [PATCH] workflows/tests: fix template-injection zizmor info This updates `workflows/tests.yml` to use environment variables to address `template-injection` info from `zizmor`. --- .github/workflows/tests.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 61c1aef5a7737..4c9eee7c8b460 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -232,8 +232,10 @@ jobs: bottles-directory: ${{ env.BOTTLES_DIR }} cleanup: ${{ matrix.cleanup }} - - run: brew test-bot ${{ needs.setup_tests.outputs.test-bot-formulae-args }} - id: brew-test-bot-formulae + - id: brew-test-bot-formulae + run: brew test-bot $TEST_BOT_FORMULAE_ARGS + env: + TEST_BOT_FORMULAE_ARGS: ${{ needs.setup_tests.outputs.test-bot-formulae-args }} working-directory: ${{ env.BOTTLES_DIR }} - name: Post-build steps @@ -355,7 +357,9 @@ jobs: cleanup: ${{ matrix.cleanup }} download-bottles: true - - run: brew test-bot ${{ needs.setup_dep_tests.outputs.test-bot-dependents-args }} --testing-formulae="$TESTING_FORMULAE" + - run: brew test-bot $TEST_BOT_DEPENDENTS_ARGS --testing-formulae="$TESTING_FORMULAE" + env: + TEST_BOT_DEPENDENTS_ARGS: ${{ needs.setup_dep_tests.outputs.test-bot-dependents-args }} working-directory: ${{ env.BOTTLES_DIR }} - name: Steps summary and cleanup