docs(actions): fix two internal links #25087
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why:
Internal links
[`paths`](#onpushpull_requestpull_request_targetpathspaths-ignore)
written in two reusables lead to invalid links in doc page "Trigger a workflow".Closes: #25086
What's being changed (if available, include any code snippets, screenshots, or gifs):
A path to file where the anchor
#onpushpull_requestpull_request_targetpathspaths-ignore
lives is prepended to the link. The linked text is also extended to includepaths-ignore
.The two modified reusables are both used twice, one in page "Trigger a workflow" and one in page "Workflow syntax". Before, the links only work in "Workflow syntax" page. This PR makes the links work in both pages.
Check off the following: