Skip to content

Providing inputs to a reusable workflow not expecting them pass silently

Current situation

If I call a reusable workflow with inputs, if the reused workflow was not expecting any, no error is reported and the sub-workflow runs as if everything was fine.

Desired outcome

The sub-workflow should not run, and an error should be displayed.

Workflow sample

metadata:
  name: test reusable workflow
jobs:
  robot:
    uses:  https://gitlab.com/opentestfactory/orchestrator.git#orchestrator/tests/python/resources/demo_linux_robotframework_params.yaml
    with:
      unexpected: 123
    continue-on-error: true
  yada:
    needs: [robot]
    if: always()
    steps:
    - run: echo done
Edited by Martin Lafaix