🌐
Interactiveinputs
interactiveinputs.com
Dynamic runtime inputs ❤️ GitHub Actions | Interactive Inputs
The most effective way for integrating runtime inputs into your GitHub Action Workflows and Actions
🌐
GitHub
docs.github.com › en › actions › reference › workflows-and-actions › contexts
Contexts reference - GitHub Docs
The inputs context contains input properties passed to an action, to a reusable workflow, or to a manually triggered workflow.
Discussions

Using github.inputs and variables in workflows - Stack Overflow
So basically what I try to do is as following if there is a push to repository A trigger the pipeline of repository B with an input thatis the the name of the branch in repository A that is pushed ... More on stackoverflow.com
🌐 stackoverflow.com
Support list input type
If you are having an issue or question about GitHub Actions then please contact customer support · If your issue is relevant to this repository, please include the information below: Describe the enhancement An action should be able to have an input type which is a list of strings. More on github.com
🌐 github.com
8
October 10, 2019
GitHub Actions Check Empty Dispatch Input - Stack Overflow
I have a workflow that is triggered by workflow_dispatch events with a few non-required string inputs and am trying to figure out how to determine if the value was provided or not. on: More on stackoverflow.com
🌐 stackoverflow.com
PS Script with user inputs / GitHub WorkFlow
If you have access to the API then you can use a webhook to trigger the workflow when the status changes from active to disabled. Capture the user account in the json payload and feed it into the action. This lets it be fully automated. Of course there's more work to do but that's the gist of it. More on reddit.com
🌐 r/github
5
1
August 30, 2024
🌐
GitHub
github.blog › home › changelogs › github actions: input types for manual workflows
GitHub Actions: Input types for manual workflows - GitHub Changelog
March 22, 2025 - name: Mixed inputs on: workflow_dispatch: inputs: name: type: choice description: Who to greet options: - monalisa - cschleiden message: required: true use-emoji: type: boolean description: Include 🎉🤣 emojis environment: type: environment jobs: greet: runs-on: ubuntu-latest steps: - name: Send greeting run: echo "${{ github.event.inputs.message }} ${{ fromJSON('["", "🥳"]')[github.event.inputs.use-emoji == 'true'] }} ${{ github.event.inputs.name }}"
🌐
GitHub
github.com › marketplace › actions › interactive-inputs-action
Interactive Inputs Action - GitHub Marketplace
name: Interactive Inputs on: [push] jobs: get-choice: runs-on: ubuntu-latest steps: - name: Test interactive inputs action id: interactive-inputs-action uses: NivEz/interactive-inputs-action@v1 # You can use a different version / tag @vx.x.x with: telegram-api-token: ${{ secrets.TELEGRAM_API_TOKEN }} telegram-chat-id: ${{ secrets.CHAT_ID }} question: How are you today?
🌐
GitHub
docs.github.com › actions › using-workflows › workflow-syntax-for-github-actions
Workflow syntax for GitHub Actions - GitHub Docs
GitHub displays the workflow run ... "Actions" tab. If run-name is omitted or is only whitespace, then the run name is set to event-specific information for the workflow run. For example, for a workflow triggered by a push or pull_request event, it is set as the commit message or the title of the pull request. This value can include expressions and can reference the github and inputs ...
🌐
GitHub
docs.github.com › en › enterprise-cloud@latest › graphql › reference › input-objects
Input objects - GitHub Enterprise Cloud Docs
Autogenerated input type of ChangeUserStatus. Information from a check run analysis to specific lines of code. Information from a check run analysis to specific lines of code. Possible further actions the integrator can perform. The filters that are available when fetching check runs. Descriptive details about the check run. Images attached to the check run output displayed in the GitHub pull request UI.
🌐
Stack Overflow
stackoverflow.com › questions › 74437885 › using-github-inputs-and-variables-in-workflows
Using github.inputs and variables in workflows - Stack Overflow
23 GitHub Actions: pass data from workflow to another workflow? 58 Dropdown for GitHub Workflows input parameters · 12 Combine dynamic Github Workflow matrix with input values and predefined values · 7 Github action how to access the inputs · 12 GitHub Action workflow_call does not use up to date input values ·
Find elsewhere
🌐
YouTube
youtube.com › mixible
Schedule Trigger Github Action workflow with Input parameters - YouTube
Welcome to Mixible, your go-to source for comprehensive and informative content covering a broad range of topics from Stack Exchange websites. Our channel is...
Published   August 26, 2023
Views   23
🌐
Daily.dev
app.daily.dev › home › playful programming › manually trigger a github action with workflow_dispatch
Manually Trigger a GitHub Action with workflow_dispatch | daily.dev
1 month ago - A guide to using `workflow_dispatch` in GitHub Actions to manually trigger workflows without a push or pull request. Covers basic setup, passing custom input parameters, supported input types (string, boolean, choice), required fields, and accessing inputs via `github.event.inputs` in workflow steps.
🌐
GitHub
github.com › orgs › community › discussions › 11795
workflow_dispach to have dynamic inputs parameters · community · Discussion #11795
It'd be good to have dynamic input ... one form input to the operator. For example, on select choices <stg, prod>, we can hide/show/change the other options, before the operator clicks the Run Workflow. Beta Was this translation helpful? Give feedback. ... There was an error while loading. Please reload this page. Something went wrong. There was an error while loading. Please reload this page. ... Yes, GitHub action inputs really ...
🌐
OneUptime
oneuptime.com › home › blog › how to use workflow dispatch inputs in github actions
How to Use Workflow Dispatch Inputs in GitHub Actions
December 20, 2025 - name: Release on: workflow_dispatch: inputs: release_type: description: 'Release type' required: true type: choice options: - major - minor - patch - prerelease prerelease_tag: description: 'Prerelease tag (alpha, beta, rc)' required: false type: string default: '' create_github_release: description: 'Create GitHub release' type: boolean default: true publish_npm: description: 'Publish to npm' type: boolean default: true publish_docker: description: 'Publish Docker image' type: boolean default: true jobs: release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 -
🌐
GitHub
docs.github.com › en › actions
GitHub Actions documentation - GitHub Docs
You can discover, create, and share actions to perform any job you'd like, including CI/CD, and combine actions in a completely customized workflow. ... Try out the core features of GitHub Actions in minutes.
🌐
GitHub
github.com › actions › toolkit › issues › 184
Support list input type · Issue #184 · actions/toolkit
October 10, 2019 - If you are having an issue or question ... Describe the enhancement An action should be able to have an input type which is a list of strings....
Author   bryanmacfarlane
🌐
Reddit
reddit.com › r/github › ps script with user inputs / github workflow
r/github on Reddit: PS Script with user inputs / GitHub WorkFlow
August 30, 2024 -

Good morning / Evening All, happy Friday 😄

Looking for a few pointers on how to best achieve a problem using a PS Script / Workflow.

I have a PS Script that will term users accounts in AD. When the script executes it will prompt the IT personal to enter the username of the term, which the users input, and then goes on it's merry way to term the account.

I have been giving the task of executing the script within a GitHub workflow. The end goal will be automation from HR system which will trigger the workflow and complete the term, without the need to run through term script, but this is a long way off.

In the interim, we will need the manually run the workflow. Which is not that end of the world.

My problem is however, how best to get around the user input part in the script. From my initial research, u cannot use inputs within the Workflow.

Would u have any workarounds to this?

Any help would be much appreciated

🌐
GitHub
github.com › marketplace › actions › display-inputs-action
Display Inputs Action - GitHub Marketplace
name: Display Workflow Inputs on: workflow_dispatch: inputs: environment: description: 'Deployment Environment' required: true type: choice options: - development - staging - production version: description: 'Version Number' required: true type: string debug: description: 'Debug Mode' required: false type: boolean default: false jobs: display-inputs: runs-on: ubuntu-latest steps: - name: Display workflow inputs uses: VeyronSakai/display-inputs-action@v0.1 · This action fetches the workflow file using GitHub API, so actions/checkout is not required.
🌐
GitHub
github.com › orgs › community › discussions › 40421
Multiple choice/Checkbox as input for manual workflows. · community · Discussion #40421
May 17, 2023 - on: workflow_dispatch: inputs: option1: type: boolean option2: type: boolean option3: type: boolean · To retrieve the selected checkbox names, I created a custom action as I haven't found an easy way to do that without a for loop in bash (GitHub Marketplace):
Top answer
1 of 8
48

inputs are available to workflows triggered by the workflow_dispatch event only (and to any workflows that are called by dispatched workflows).

When a workflow with inputs is triggered on a schedule (or on push/pull) all the input values are null. Any defaults that are set in the inputs section have no effect.

Therefore you need to set the defaults at the point where they are needed in the workflow. A convenient method for doing this uses Github expressions.

For string and choice inputs you can use the || expression operator to set the default value.

For boolean inputs that default to false you can use || expression to set the default value.

For boolean inputs that default to true you can use the contains() function to set the default value.

For example:

on:
  schedule:
    - cron: '15 0,18 * * 0-5'
  workflow_dispatch:
    inputs:
      springProfile:
        required: true
        type: choice
        options:
          - staging
          - production
      logLevel:
        required: true
        type: string
      isFalseWhenScheduled:
        required: true
        type: boolean
      isTrueWhenScheduled:
        required: true
        type: boolean



jobs:
  test:
    uses: ./.github/workflows/run-job-with-params.yml
    secrets: inherit
    with:
      springProfile: ${{ inputs.springProfile || 'staging' }}
      logLevel: ${{ inputs.logLevel || 'DEBUG' }}
      isFalseWhenScheduled: ${{ inputs.isFalseWhenScheduled || false }}
      isTrueWhenScheduled: ${{ !contains(inputs.isTrueWhenScheduled, 'false') }}

In the above example, if the workflow is triggered on schedule:

  • the springProfile parameter is set to 'staging'.
  • the logLevel parameter is set to 'DEBUG'.
  • the isFalseWhenScheduled parameter is set to false
  • the isTrueWhenScheduled parameter is set to true

If the job is triggered on workflow_dispatch: then the above parameters are set to the inputs: values.

Boolean value defaults

The contains function casts its first parameter to a string, and null is cast to the empty string ''. As mentioned, when triggered on schedule, inputs parameters are all set to null.

So:

Trigger method isTrueWhenScheduled value input value resolves to
workflow_dispatch true !contains('true', 'false') = true
workflow_dispatch false !contains('false', 'false') = false (*)
schedule null !contains('', 'false') = true

(*) This combination is what necessitates the use of contains. If contains is not used and you do ${{ inputs.isTrueWhenScheduled || true }} this will force this value to true even if it is set false in the workflow dispatch event.

And:

Trigger method isFalseWhenScheduled value input value resolves to
workflow_dispatch true true || false = true
workflow_dispatch false false || false = false
schedule null null || false = false
2 of 8
6

You can set an env variable with a default value:

env:
  typeOfTesting: ${{ github.event_name == 'schedule' && 'stage-test-local-All' || github.event.inputs.typeOfTesting }}

then use env.typeOfTesting instead of inputs.typeOfTesting.

🌐
GitHub
docs.github.com › enterprise-cloud@latest › actions › using-workflows › workflow-syntax-for-github-actions
Workflow syntax for GitHub Actions - GitHub Enterprise Cloud Docs
GitHub displays the workflow run ... "Actions" tab. If run-name is omitted or is only whitespace, then the run name is set to event-specific information for the workflow run. For example, for a workflow triggered by a push or pull_request event, it is set as the commit message or the title of the pull request. This value can include expressions and can reference the github and inputs ...