Describe the bug
The input arguments isn't in the same order as the workflow file
To Reproduce
Steps to reproduce the behavior:
- Create this PoC github actions workflow
name: PoC workflow
on:
workflow_dispatch:
inputs:
foo:
description: "Required variable foo"
required: true
bar:
description: "Required variable bar"
required: true
baz:
description: "Optional variable baz"
jobs:
poc:
runs-on: ubuntu-latest
steps:
- name: Poc action
run: |
echo "Foo: ${{ github.event.inputs.foo }}"
echo "Bar: ${{ github.event.inputs.bar }}"
echo "Baz: ${{ github.event.inputs.baz }}"
- In workflow manager, click then "Run now" button on the above workflow
- Observe the input arguments order is different between the parsed file
Expected behavior
The arguments that the workflow file has should be in the same order
Screenshots
