Difference between revisions of "GitHub Actions: inputs:"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  
 +
* https://github.blog/changelog/2021-11-10-github-actions-input-types-for-manual-workflows/
  
  
 +
[[on:]]
 +
  [[workflow_dispatch]]:
 +
    [[inputs]]:
 +
 +
Example:
 +
 +
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
 +
 +
 +
== Related ==
 
* [[Azure Pipelines: inputs:]]
 
* [[Azure Pipelines: inputs:]]
 +
* <code>[[jobs:]]</code>
 +
* <code>[[uses:]]</code>
 +
* [[GitHub Actions variables]]
 +
* [[Terragrunt: inputs]]
  
 
== See also ==
 
== See also ==

Latest revision as of 13:34, 16 August 2023

Advertising: