Skip to content

Commit

Permalink
Merge pull request #1064 from gotmax23/ci-pip-compile-fix-quoting
Browse files Browse the repository at this point in the history
ci: fix reusable-pip-compile workflow quoting
  • Loading branch information
gotmax23 authored Jan 24, 2024
2 parents 5ebf9f1 + c29f39e commit c6f4487
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions .github/workflows/reusable-pip-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: "Refresh pinned dependencies"

"on":
workflow_call:
# GHA does not support anchors :(
# inputs: &inputs
inputs:
# Commit messae and PR title
message:
Expand All @@ -31,29 +29,6 @@ name: "Refresh pinned dependencies"
reset-branch:
type: boolean
default: false
workflow_dispatch:
# inputs: *inputs
inputs:
message:
type: string
required: true
pr-branch:
type: string
required: true
base-branch:
type: string
required: true
nox-args:
type: string
required: true
changed-files:
default: "tests/*.txt"
type: string
required: false
reset-branch:
type: boolean
default: false

jobs:
refresh:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -102,9 +77,8 @@ jobs:
# Ensure the latest pip version is used
VIRTUALENV_DOWNLOAD: '1'
#
nox_args: "${{ inputs.nox-args }}"
run: |
nox ${nox_args}
nox ${{ inputs.nox-args }}
- name: Push new dependency versions and create a PR
env:
GITHUB_TOKEN: ${{ steps.create_token.outputs.token }}
Expand Down

0 comments on commit c6f4487

Please sign in to comment.