-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56b726a
commit 94b7337
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Manual Trigger Workflow with loglevel & tags | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
logLevel: | ||
description: 'Log level' | ||
required: true | ||
default: 'warning' | ||
type: choice | ||
options: | ||
- info | ||
- warning | ||
- debug | ||
tags: | ||
description: 'Test scenario tags' | ||
required: false | ||
type: boolean | ||
environment: | ||
description: 'Environment to run tests against' | ||
type: environment | ||
required: true | ||
|
||
jobs: | ||
log-the-inputs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo "Log level: $LEVEL" | ||
echo "Tags: $TAGS" | ||
echo "Environment: $ENVIRONMENT" | ||
env: | ||
LEVEL: ${{ inputs.logLevel }} | ||
TAGS: ${{ inputs.tags }} | ||
ENVIRONMENT: ${{ inputs.environment }} |