From 75f4a44c9cc04cacb1c30755f51e383740b18333 Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Tue, 9 May 2023 15:30:04 -0700 Subject: [PATCH 1/3] Hyperlink to `pull_request_target` While reading this doc, I had a question about this event, so a deeplink would have been convenient. --- data/reusables/actions/workflow-run-approve-public-fork.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/actions/workflow-run-approve-public-fork.md b/data/reusables/actions/workflow-run-approve-public-fork.md index 05a850508ddd..fa4159d43789 100644 --- a/data/reusables/actions/workflow-run-approve-public-fork.md +++ b/data/reusables/actions/workflow-run-approve-public-fork.md @@ -4,6 +4,6 @@ To help prevent this, workflows on pull requests to public repositories from som {% note %} -**Note:** Workflows triggered by `pull_request_target` events are run in the context of the base branch. Since the base branch is considered trusted, workflows triggered by these events will always run, regardless of approval settings. +**Note:** Workflows triggered by [`pull_request_target`](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target) events are run in the context of the base branch. Since the base branch is considered trusted, workflows triggered by these events will always run, regardless of approval settings. {% endnote %} From 353d596f285f7d9bf05b0696e4e39adf7959a01a Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Wed, 10 May 2023 13:49:36 -0700 Subject: [PATCH 2/3] Update data/reusables/actions/workflow-run-approve-public-fork.md Co-authored-by: Peter Bengtsson --- data/reusables/actions/workflow-run-approve-public-fork.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/actions/workflow-run-approve-public-fork.md b/data/reusables/actions/workflow-run-approve-public-fork.md index fa4159d43789..9fca673db9b7 100644 --- a/data/reusables/actions/workflow-run-approve-public-fork.md +++ b/data/reusables/actions/workflow-run-approve-public-fork.md @@ -4,6 +4,6 @@ To help prevent this, workflows on pull requests to public repositories from som {% note %} -**Note:** Workflows triggered by [`pull_request_target`](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target) events are run in the context of the base branch. Since the base branch is considered trusted, workflows triggered by these events will always run, regardless of approval settings. +**Note:** Workflows triggered by [`pull_request_target`](/actions/using-workflows/events-that-trigger-workflows#pull_request_target) events are run in the context of the base branch. Since the base branch is considered trusted, workflows triggered by these events will always run, regardless of approval settings. {% endnote %} From 8fe3951c2ad3a89adfcc6ef9c1ee64f178de4a4e Mon Sep 17 00:00:00 2001 From: Sarah Edwards Date: Thu, 11 May 2023 14:33:43 -0700 Subject: [PATCH 3/3] style guide nit --- data/reusables/actions/workflow-run-approve-public-fork.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/actions/workflow-run-approve-public-fork.md b/data/reusables/actions/workflow-run-approve-public-fork.md index 9fca673db9b7..543e1d2e1948 100644 --- a/data/reusables/actions/workflow-run-approve-public-fork.md +++ b/data/reusables/actions/workflow-run-approve-public-fork.md @@ -4,6 +4,6 @@ To help prevent this, workflows on pull requests to public repositories from som {% note %} -**Note:** Workflows triggered by [`pull_request_target`](/actions/using-workflows/events-that-trigger-workflows#pull_request_target) events are run in the context of the base branch. Since the base branch is considered trusted, workflows triggered by these events will always run, regardless of approval settings. +**Note:** Workflows triggered by `pull_request_target` events are run in the context of the base branch. Since the base branch is considered trusted, workflows triggered by these events will always run, regardless of approval settings. For more information about the `pull_request_target` event, see "[AUTOTITLE](/actions/using-workflows/events-that-trigger-workflows#pull_request_target)." {% endnote %}