Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input workflow arguments in wrong order #55

Open
parberge opened this issue Sep 28, 2023 · 0 comments
Open

Input workflow arguments in wrong order #55

parberge opened this issue Sep 28, 2023 · 0 comments

Comments

@parberge
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant