From 7388ce07be8b6f8065f6e2bd880d96735e54a0bc Mon Sep 17 00:00:00 2001 From: cjfryer <106983702+cjfryer@users.noreply.github.com> Date: Wed, 27 Sep 2023 00:19:41 +0100 Subject: [PATCH] Correct case of github.event.review.state (#28303) Co-authored-by: Sarah Edwards --- .../actions/using-workflows/events-that-trigger-workflows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/actions/using-workflows/events-that-trigger-workflows.md b/content/actions/using-workflows/events-that-trigger-workflows.md index 80dc9c19078b..33383a477a7c 100644 --- a/content/actions/using-workflows/events-that-trigger-workflows.md +++ b/content/actions/using-workflows/events-that-trigger-workflows.md @@ -763,7 +763,7 @@ on: jobs: approved: - if: github.event.review.state == 'approved' + if: github.event.review.state == 'APPROVED' runs-on: ubuntu-latest steps: - run: echo "This PR was approved"