Skip to content

Workflow file for this run

name: foo
on:
pull_request:
branches: [main]
jobs:
environment: prod

Check failure on line 9 in .github/workflows/foo.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/foo.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
foo:
runs-on: ubuntu-latest
env:
FOO: ${{ secrets.FOO }}
steps:
- run: |
echo "$FOO" | while IFS='=' read -r key value; do
echo "::add-mask::$value"
echo "$key=$value" >> "$GITHUB_ENV"
done
- run: |
env