From 79d7fbc7e35be045665f6b4dbf7c029ecc3559eb Mon Sep 17 00:00:00 2001 From: SashaMIT Date: Wed, 5 Aug 2026 19:05:53 +0700 Subject: [PATCH] ci: pass brownie_fork_tests inputs via env before shell Move vote and command composite inputs into env before use in run scripts so workflow expressions are not interpolated into the shell body. Co-authored-by: Cursor --- .github/actions/brownie_fork_tests/action.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/actions/brownie_fork_tests/action.yml b/.github/actions/brownie_fork_tests/action.yml index 154eb024..652c80ac 100644 --- a/.github/actions/brownie_fork_tests/action.yml +++ b/.github/actions/brownie_fork_tests/action.yml @@ -56,6 +56,8 @@ runs: - name: Show system info shell: bash + env: + VOTE_TYPE: ${{ inputs.vote }} run: | echo "Memory and swap:" free -h @@ -67,12 +69,13 @@ runs: echo "CPU units" nproc --all echo "Vote type" - echo ${{ inputs.vote }} + echo "$VOTE_TYPE" - name: Run tests shell: bash - run: > - ${{ inputs.command }} env: ETHERSCAN_TOKEN: ${{ inputs.etherscan }} ETH_RPC_URL: ${{ inputs.rpc_url }} + COMMAND: ${{ inputs.command }} + run: | + bash -lc "$COMMAND"