Skip to content

Commit

Permalink
wip: testing input
Browse files Browse the repository at this point in the history
  • Loading branch information
ciatph committed Sep 13, 2024
1 parent 9b920c6 commit e1ff587
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
name: Manual Trigger Workflow

# configure manual trigger
name: Manual Trigger Workflow with loglevel & tags
#get log & tags information
on:
workflow_dispatch:
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:
lint-app:
name: Lint App
print-tag:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Use NodeJS v16.14.2
uses: actions/setup-node@v3
with:
node-version: 16.14.2
- name: Install Dependencies and lint
run: |
cd app
npm install
npm run lint
- name: Print the purpose of run
run: echo ${{ inputs.tags }} purpose

0 comments on commit e1ff587

Please sign in to comment.