π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
ci: fix docs workflow startup failure on pull_request events (#3900)
Dmytro Mishkinf85ef2092bfc
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex 9621f75a2..dd32c10ea 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -4,6 +4,7 @@ on:paths:- 'docs/**'- '*.rst'+ - '.github/workflows/docs.yml'workflow_call:inputs:python-version:@@ -36,9 +37,12 @@ jobs:name: docsruns-on: ubuntu-lateststrategy:- fail-fast: ${{ inputs.fail-fast }}+ # On direct pull_request events the `inputs` context is empty (the workflow_call+ # defaults do NOT apply), so fall back explicitly β otherwise fromJSON('') fails+ # at workflow parse time and the run dies at startup with zero jobs.+ fail-fast: ${{ inputs.fail-fast || false }}matrix:- python-version: ${{ fromJSON(inputs.python-version) }}+ python-version: ${{ fromJSON(inputs.python-version || '["3.11"]') }}steps:- name: Checkout repository