Skip to content

Commit

Permalink
Merge pull request #114 from ciatph/wip/dispatch
Browse files Browse the repository at this point in the history
Wip/dispatch
  • Loading branch information
ciatph authored Sep 13, 2024
2 parents eba8f1d + 4a16db8 commit a07ceca
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Manual Trigger Workflow with loglevel & tags
#get log & tags information
on:
workflow_dispatch:
branches:
- wip/dispatch
- dev
inputs:
logLevel:
description: 'Log level'
required: true
default: 'information'
type: choice
options:
- information
- debug
- warning
- critical
tags:
description: 'Purpose of Run This Workflow?'
required: true
type: string

jobs:
print-tag:
runs-on: ubuntu-latest
steps:
- name: Print the purpose of run
run: echo ${{ inputs.tags }} purpose

0 comments on commit a07ceca

Please sign in to comment.