Skip to content

GAM Trigger - Dashboard-${{ github.event.workflow_run.created_at }} by @riprasad #1

GAM Trigger - Dashboard-${{ github.event.workflow_run.created_at }} by @riprasad

GAM Trigger - Dashboard-${{ github.event.workflow_run.created_at }} by @riprasad #1

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Test Trigger From GH CLI

Invalid workflow file

The workflow is not valid. .github/workflows/test.yaml (Line: 16, Col: 18): Unrecognized named-value: 'github'. Located at position 1 within expression: github.event.workflow_run.created_at
jobs:
print-message:
runs-on: ubuntu-latest
steps:
- name: Print a message
run: echo "Hello, this is a workflow triggered by workflow_dispatch!"