From 289a5007717b5f46c211a2680f25bdb452b8a65e Mon Sep 17 00:00:00 2001 From: Tom Schuster Date: Mon, 7 Dec 2020 23:08:13 -0500 Subject: [PATCH] Fix invalid syntax for pull_request_target example --- content/actions/reference/events-that-trigger-workflows.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/actions/reference/events-that-trigger-workflows.md b/content/actions/reference/events-that-trigger-workflows.md index 74c96bf349eb..0a5691209090 100644 --- a/content/actions/reference/events-that-trigger-workflows.md +++ b/content/actions/reference/events-that-trigger-workflows.md @@ -587,7 +587,8 @@ By default, a workflow only runs when a `pull_request_target`'s activity type is For example, you can run a workflow when a pull request has been `assigned`, `opened`, `synchronize`, or `reopened`. ```yaml -on: pull_request_target +on: + pull_request_target: types: [assigned, opened, synchronize, reopened] ```