Skip to content

Commit

Permalink
Create manual_workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Francotorrico authored Apr 14, 2024
1 parent a43c1ef commit b40419a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/manual_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
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
push:
branches:
- franco_pagos_qa

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 }}

0 comments on commit b40419a

Please sign in to comment.