Skip to content

Create dynamic-run-name.yml #1

Create dynamic-run-name.yml

Create dynamic-run-name.yml #1

name: Dynamic Run name
run-name: ${{ github.event_name == 'workflow_dispatch' ? inputs.environment : 'auto' }}

Check failure on line 2 in .github/workflows/dynamic-run-name.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/dynamic-run-name.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
on:
push:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: echo "Hello world"