Skip to content

Commit 2580e99

Browse files
committed
release v1.1.0
1 parent 4247756 commit 2580e99

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

.github/workflows/test-continuation.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
uses: ./rich-workflow-run
2828
id: workflow-run
2929
with:
30+
jobs-url: ${{ github.event.workflow_run.jobs_url }}
31+
logs-url: ${{ github.event.workflow_run.logs_url }}
32+
artifacts-url: ${{ github.event.workflow_run.artifacts_url }}
3033
artifact-names: artifact1,artifact2
3134
- env:
3235
WORKFLOW_RUN_JOBS: ${{ steps.workflow-run.outputs.jobs }}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## Unreleased
88

9+
## [1.1.0] - 2023-03-22
10+
### Removed
11+
- Removed input defaults
12+
913
## [1.0.1] - 2023-03-21
1014
### Fixed
1115
- Fixed looping through artifacts

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,18 @@ It is especially useful when used in combination with the [workflow_run](https:/
88

99
### `jobs-url`
1010

11-
**Optional** The URL of the jobs API endpoint for the workflow run. If not provided, the URL will be extracted from the `github.event.workflow_run.jobs_url` context variable.
12-
11+
**Optional** The URL of the jobs API endpoint for the workflow run. If the workflow is triggered on the workflow run event, you can use the `github.event.workflow_run.jobs_url` context variable.
1312
### `logs-url`
1413

15-
**Optional** The URL of the logs API endpoint for the workflow run. If not provided, the URL will be extracted from the `github.event.workflow_run.logs_url` context variable.
14+
**Optional** The URL of the logs API endpoint for the workflow run. If the workflow is triggered on the workflow run event, you can use the `github.event.workflow_run.logs_url` context variable.
1615

1716
### `artifacts-url`
1817

19-
**Optional** The URL of the artifacts API endpoint for the workflow run. If not provided, the URL will be extracted from the `github.event.workflow_run.artifacts_url` context variable.
18+
**Optional** The URL of the artifacts API endpoint for the workflow run. If the workflow is triggered on the workflow run event, you can use the `github.event.workflow_run.artifacts_url` context variable.
2019

2120
### `artifact-names`
2221

23-
**Optional** A comma-separated list of artifact names to download. If not provided, none of the artifacts will be downloaded.
22+
**Optional** A comma-separated list of artifact names to download. If not provided, none of the artifacts will be downloaded. It doesn't have any effect if the `artifacts-url` input is not provided.
2423

2524
## Outputs
2625

@@ -51,6 +50,9 @@ jobs:
5150
uses: pl-strflt/rich-workflow-run@v1
5251
id: workflow-run
5352
with:
53+
jobs-url: ${{ github.event.workflow_run.jobs_url }}
54+
logs-url: ${{ github.event.workflow_run.logs_url }}
55+
artifacts-url: ${{ github.event.workflow_run.artifacts_url }}
5456
artifact-names: artifacts1,artifacts2
5557
- name: Print information about the workflow run jobs
5658
run: echo "${{ steps.download-info.outputs.jobs }}"

action.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@ inputs:
55
jobs-url:
66
description: "Jobs URL"
77
required: false
8-
default: ${{ github.event.workflow_run.jobs_url }}
98
logs-url:
109
description: "Logs URL"
1110
required: false
12-
default: ${{ github.event.workflow_run.logs_url }}
1311
artifacts-url:
1412
description: "Artifacts URL"
1513
required: false
16-
default: ${{ github.event.workflow_run.artifacts_url }}
1714
artifact-names:
1815
description: "A comma-separated list of artifact names to download"
1916
required: false

0 commit comments

Comments
 (0)