Skip to content

Workflow file for this run

on:
pull_request_review:
types: [submitted]
jobs:
approved:
if: github.event.review.state == 'approved'
runs-on: ubuntu-latest
steps:
- run:
node ./build/releaseNotesGenerator.js release.txt

Check failure on line 11 in .github/workflows/CI-approve-pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/CI-approve-pr.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
if [[ "$(git diff --name-only release.txt)" == "release.txt" ]]; then
git add release.txt
git commit -m "append branch release notes to avoid merge conflicts"
fi