Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
riprasad committed Sep 30, 2024
1 parent 4bfa503 commit b0535ee
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test Trigger From GH CLI

run-name: GAM Trigger - ${{ inputs.component }}-${{ inputs.workflow_run_id }} by @${{ github.actor }}

on:
workflow_dispatch:
inputs:
component:
type: choice
description: select component
options:
- Dashboard
workflow_run_id:
description: 'Execution ID (default is current date and time)'
required: false
default: '${{ github.event.workflow_run.created_at }}' # Default to the date and time of the workflow run

jobs:
print-message:
runs-on: ubuntu-latest

steps:
- name: Print a message
run: echo "Hello, this is a workflow triggered by workflow_dispatch!"

0 comments on commit b0535ee

Please sign in to comment.