Skip to content

Commit c29f39e

Browse files
committed
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.
1 parent f8a4aea commit c29f39e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/reusable-pip-compile.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,8 @@ jobs:
7777
# Ensure the latest pip version is used
7878
VIRTUALENV_DOWNLOAD: '1'
7979
#
80-
nox_args: "${{ inputs.nox-args }}"
8180
run: |
82-
nox ${nox_args}
81+
nox ${{ inputs.nox-args }}
8382
- name: Push new dependency versions and create a PR
8483
env:
8584
GITHUB_TOKEN: ${{ steps.create_token.outputs.token }}

0 commit comments

Comments
 (0)