Skip to content

workflow_dispach with inputs does not work properly #35222

@jarbelix

Description

@jarbelix

Description

I have a workflow as described in the official documentation (https://docs.github.com/en/actions/how-tos/write-workflows/choose-where-workflows-run/choose-the-runner-for-a-job) to choose which runner via workflow_dispatch inputs

My workflow deploy-select.yml

name: Workflow Deploy (select the docker-server)

on: 
workflow_dispatch: 
  inputs: 
    docker-server: 
      description: Select the docker server 
      required: true 
      type: choice 
      options: 
      - dev 
      - man 
      - prd

jobs: 

  pull-from-registry-and-deploy: 

  runs-on: [ "${{ inputs.docker-server }}" ] 

  steps: 

    - name: Repository checkout 
      uses: actions/checkout@v4

....

The workflow doesn't start.

It remains in the Waiting status.

Gitea Version

Version: 1.24.4

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

Image

Git Version

git version 2.47.3

Operating System

Docker version 28.3.3, build 980b856

How are you running Gitea?

Docker version 28.3.3, build 980b856

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions