GAM Trigger - Dashboard-${{ github.event.workflow_run.created_at }} by @riprasad #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
Check failure on line 16 in .github/workflows/test.yaml GitHub Actions / Test Trigger From GH CLIInvalid workflow file
|
||
jobs: | ||
print-message: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Print a message | ||
run: echo "Hello, this is a workflow triggered by workflow_dispatch!" |