From 97872c48431b7ab039b31e504f8e0f73b5005127 Mon Sep 17 00:00:00 2001 From: Danny Roberts Date: Wed, 13 Apr 2022 18:39:38 -0500 Subject: [PATCH] docs: update GA quote/ref in concepts-guidelines.md (#1169) * Update GA quote/ref in concepts-guidelines.md The current quote and reference link appear to be out of date * Change "Triggering further workflow runs" excerpt --- docs/concepts-guidelines.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/concepts-guidelines.md b/docs/concepts-guidelines.md index 80d033628..ef16766ae 100644 --- a/docs/concepts-guidelines.md +++ b/docs/concepts-guidelines.md @@ -136,9 +136,10 @@ For further reading regarding the security of pull requests, see this GitHub blo Pull requests created by the action using the default `GITHUB_TOKEN` cannot trigger other workflows. If you have `on: pull_request` or `on: push` workflows acting as checks on pull requests, they will not run. -> When you use the repository's GITHUB_TOKEN to perform tasks on behalf of the GitHub Actions app, events triggered by the GITHUB_TOKEN will not create a new workflow run. +> When you use the repository's `GITHUB_TOKEN` to perform tasks, events triggered by the `GITHUB_TOKEN` will not create a new workflow run. This prevents you from accidentally creating recursive workflow runs. For example, if a workflow run pushes code using the repository's `GITHUB_TOKEN`, a new workflow will not run even when the repository contains a workflow configured to run when `push` events occur. For more information, see "[Authenticating with the GITHUB_TOKEN](https://docs.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token)." -[GitHub Actions: Events that trigger workflows](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token) + +[GitHub Actions: Triggering a workflow from a workflow](https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow) #### Workarounds to trigger further workflow runs