Skip to content

Commit 3b9af3b

Browse files
committed
Document push-only coverage timing
1 parent 32ff83e commit 3b9af3b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎docs/workflow-strategies.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ In a separate-job layout, the test job generates the report and the upload job r
2525
- Pushes with an open pull request upload using the discovered PR number.
2626
- Pushes without an open pull request skip successfully.
2727

28+
If a branch is pushed before its pull request is opened, coverage is not uploaded until the next push. To upload coverage when a pull request is opened without requiring another push, use a `pull_request` trigger.
29+
2830
Push-only workflows have an existing requirement to grant the upload job `pull-requests: read`:
2931

3032
```yaml

0 commit comments

Comments
 (0)