Skip to content

Input workflow arguments in wrong order #55

Description

@parberge

Describe the bug
The input arguments isn't in the same order as the workflow file

To Reproduce
Steps to reproduce the behavior:

  1. 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 }}"
  1. In workflow manager, click then "Run now" button on the above workflow
  2. 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
workflow-manager-bug

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions