Skip to content

Commit c246261

Browse files
committed
README: update
1 parent 5f8c0b0 commit c246261

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Let's suppose you have a workflow with a job in it that at the end uploads an ar
66

77
## Usage
88

9-
> If `commit` or `pr` or `branch` or `run_id` or `workflow_conclusion` is not specified then the artifact from the most recent completed workflow run will be downloaded.
9+
> If `commit` or `pr` or `branch` or `run_id` or `workflow_conclusion` is not specified then the artifact from the most recent successfully completed workflow run will be downloaded.
1010
11-
**Do not specify `pr`, `commit`, `branch`, `run_id`, `run_number` together or `workflow_conclusion` and `run_id` together. Pick just one of each or none.**
11+
**Do not specify `pr`, `commit`, `branch`, `run_id` together or `workflow_conclusion` and `run_id` together. Pick just one of each or none.**
1212

1313
```yaml
1414
- name: Download artifact
@@ -23,7 +23,7 @@ Let's suppose you have a workflow with a job in it that at the end uploads an ar
2323
# "failure", "success", "neutral", "cancelled", "skipped", "timed_out", "action_required"
2424
# Or a workflow status:
2525
# "completed", "in_progress", "queued"
26-
# Default: "completed"
26+
# Default: "completed,success"
2727
workflow_conclusion: success
2828
# Optional, will get head commit SHA
2929
pr: ${{github.event.pull_request.number}}

0 commit comments

Comments
 (0)