Skip to content

Commit abc008a

Browse files
ittakatoclaude
andcommitted
Improve readability of lowest unmerged pull request condition
Restructure the "Lowest unmerged pull request" bullet to match the sentence pattern of the "Top pull request" bullet in the same list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent d19b695 commit abc008a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/pull-requests/how-tos/merge-and-close-pull-requests/optimizing-ci-for-stacked-pull-requests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
5656
Because a workflow runs for every pull request in a stack, you can use the `stack` fields to run expensive jobs only at the positions that matter. Two conditions are especially useful:
5757

58-
* **Lowest unmerged pull request** — the pull request currently at the bottom of the remaining stack. Because it targets the stack base directly, `github.event.pull_request.stack.base.ref` equals `github.event.pull_request.base.ref`.
58+
* **Lowest unmerged pull request** — the pull request currently at the bottom of the remaining stack, targeting the stack base directly. It is the pull request where `github.event.pull_request.stack.base.ref` equals `github.event.pull_request.base.ref`.
5959
* **Top pull request** — the last pull request in the stack, containing the full set of changes. It is the pull request where `github.event.pull_request.stack.position` equals `github.event.pull_request.stack.size`.
6060

6161
```yaml

0 commit comments

Comments
 (0)