Skip to content

Commit 2821b8c

Browse files
Update triggering-a-workflow.md (#32459)
Co-authored-by: Alex Nguyen <150945400+nguyenalex836@users.noreply.github.com>
1 parent 2869d92 commit 2821b8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/actions/using-workflows/triggering-a-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Workflow triggers are defined with the `on` key. For more information, see "[AUT
2424
The following steps occur to trigger a workflow run:
2525

2626
1. An event occurs on your repository. The event has an associated commit SHA and Git ref.
27-
1. {% data variables.product.product_name %} searches the `.github/workflows` directory in your repository for workflow files that are present in the associated commit SHA or Git ref of the event.
27+
1. {% data variables.product.product_name %} searches the `.github/workflows` directory in the root of your repository for workflow files that are present in the associated commit SHA or Git ref of the event.
2828
1. A workflow run is triggered for any workflows that have `on:` values that match the triggering event. Some events also require the workflow file to be present on the default branch of the repository in order to run.
2929

3030
Each workflow run will use the version of the workflow that is present in the associated commit SHA or Git ref of the event. When a workflow runs, {% data variables.product.product_name %} sets the `GITHUB_SHA` (commit SHA) and `GITHUB_REF` (Git ref) environment variables in the runner environment. For more information, see "[AUTOTITLE](/actions/learn-github-actions/variables)."

0 commit comments

Comments
 (0)