Skip to content

Add test workflow

Add test workflow #1

Workflow file for this run

---
name: "Test environment protection"
on:
workflow_dispatch:
jobs:
first-job:
environment: prod
command: echo First Job
second-job:
environment: prod

Check failure on line 13 in .github/workflows/test-envs.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-envs.yaml

Invalid workflow file

You have an error in your yaml syntax on line 13
command: echo Second Job
needs: first-job