mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-26 13:18:58 +07:00
Allow to configure Python version to compile docs build dependencies. (#3257)
This commit is contained in:
8
.github/workflows/pip-compile-docs.yml
vendored
8
.github/workflows/pip-compile-docs.yml
vendored
@@ -18,6 +18,12 @@ name: "Refresh docs build dependencies"
|
||||
labels:
|
||||
required: false
|
||||
type: string
|
||||
python-version:
|
||||
description: >-
|
||||
Python version to use to compile the dependencies.
|
||||
Must be correctly chosen for every stable branch.
|
||||
type: string
|
||||
default: "3.12"
|
||||
|
||||
jobs:
|
||||
refresh:
|
||||
@@ -32,5 +38,5 @@ jobs:
|
||||
'pip-compile(requirements)'
|
||||
reset-branch: "${{ inputs.reset-branch || false }}"
|
||||
labels: "${{ inputs.labels || 'doc builds,no_backport' }}"
|
||||
python-versions: "3.12"
|
||||
python-versions: "${{ inputs.python-version }}"
|
||||
secrets: inherit
|
||||
|
||||
Reference in New Issue
Block a user