We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ead42d1 commit 8a0c87bCopy full SHA for 8a0c87b
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,33 @@
1
+on:
2
+ workflow_dispatch:
3
+ inputs:
4
+ logLevel:
5
+ description: 'Log level'
6
+ required: true
7
+ default: 'warning'
8
+ type: choice
9
+ options:
10
+ - info
11
+ - warning
12
+ - debug
13
+ tags:
14
+ description: 'Test scenario tags'
15
+ required: false
16
+ type: boolean
17
+ environment:
18
+ description: 'Environment to run tests against'
19
+ type: environment
20
21
+
22
+jobs:
23
+ log-the-inputs:
24
+ runs-on: ubuntu-latest
25
+ steps:
26
+ - run: |
27
+ echo "Log level: $LEVEL"
28
+ echo "Tags: $TAGS"
29
+ echo "Environment: $ENVIRONMENT"
30
+ env:
31
+ LEVEL: ${{ inputs.logLevel }}
32
+ TAGS: ${{ inputs.tags }}
33
+ ENVIRONMENT: ${{ inputs.environment }}
0 commit comments