Difference between revisions of "GitHub Actions: inputs:"
Jump to navigation
Jump to search
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
* https://github.blog/changelog/2021-11-10-github-actions-input-types-for-manual-workflows/ | * https://github.blog/changelog/2021-11-10-github-actions-input-types-for-manual-workflows/ | ||
Line 9: | Line 6: | ||
[[workflow_dispatch]]: | [[workflow_dispatch]]: | ||
[[inputs]]: | [[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 == | == Related == | ||
* [[Azure Pipelines: inputs:]] | * [[Azure Pipelines: inputs:]] | ||
− | * [[jobs:]] | + | * <code>[[jobs:]]</code> |
+ | * <code>[[uses:]]</code> | ||
* [[GitHub Actions variables]] | * [[GitHub Actions variables]] | ||
* [[Terragrunt: inputs]] | * [[Terragrunt: inputs]] |
Latest revision as of 13:34, 16 August 2023
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[edit]
See also[edit]
- GitHub Actions,
act, .github/workflows/
,~/actions-runner/
,svc.sh
,deploy:, run:, runs-on:
,uses:
,steps:
,jobs:
,on:, env:, uses:, script:, continue-on-error:, template:, aws-actions, inputs:
,GITHUB_ENV, needs:, github.
, GitHub runner, my-docker-publish.yml, GitHub Actions variables, GitHub Actions contexts, GitHub Actions Importer, If:, SLSA, Actions Runner Controller (ARC),$GITHUB OUTPUT
,notify:
, Marketplace,GITHUB_TOKEN
Advertising: