Difference between revisions of "GitHub Actions: inputs:"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
[[workflow_dispatch]]: | [[workflow_dispatch]]: | ||
[[inputs]]: | [[inputs]]: | ||
+ | |||
+ | Example: | ||
+ | <code> | ||
+ | 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 | ||
+ | |||
+ | </code> | ||
== Related == | == Related == |
Revision as of 11:35, 21 March 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
See also
- 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: