From 478cdbf285200ec28f8662c738e3ce8e38a9a4d6 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Wed, 24 Jan 2024 19:48:43 +0000 Subject: [PATCH] nox pip-compile: don't use env to pass nox args Using env here messes up the quoting for the args passed from the calling workflows. Now that workflow_dispatch is disabled for the reusable workflow, it should be safe to use GHA workflow templating directly. --- .github/workflows/reusable-pip-compile.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/reusable-pip-compile.yml b/.github/workflows/reusable-pip-compile.yml index 0883998547f..382bede9cdc 100644 --- a/.github/workflows/reusable-pip-compile.yml +++ b/.github/workflows/reusable-pip-compile.yml @@ -79,10 +79,9 @@ jobs: # Ensure the latest pip version is used VIRTUALENV_DOWNLOAD: '1' # - nox_args: "${{ inputs.nox-args }}" run: | set -x - nox ${nox_args} + nox ${{ inputs.nox-args }} - name: Push new dependency versions and create a PR env: GITHUB_TOKEN: ${{ steps.create_token.outputs.token }}