Skip to content

Commit 45803f1

Browse files
committed
fix: added "changed" action output
1 parent ab68274 commit 45803f1

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Repository metadata is collected using the repository manager APIs. Currently on
5858

5959
The output of the processing will be written to the standard output by default. The output can be saved to a file using the `out` parameter.
6060

61-
**Parameters**
61+
**Inputs**
6262

6363
name | reqired | default | description
6464
-------|---------|---------|-------------
@@ -75,6 +75,12 @@ ref | no | | reference output URL for change detection
7575

7676
In GitHub action mode, the change can be indicated by comparing the output to a reference output. The reference output URL can be passed in the `ref` action parameter. The `changed` output variable will be `true` or `false` depending on whether the output has changed or not compared to the reference output.
7777

78+
**Outputs**
79+
80+
name | description
81+
--------|------------
82+
changed | `true` if the output has changed compared to `ref`, otherwise `false`
83+
7884
**Example usage**
7985

8086
```yaml

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ inputs:
4848
description: reference output URL for change detection
4949
required: false
5050

51+
outputs:
52+
changed:
53+
description: "true if the output has changed compared to ref"
54+
5155
runs:
5256
using: docker
5357
image: docker://ghcr.io/grafana/k6registry:v0

releases/v0.1.8.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
k6registry `v0.1.8` is here 🎉!
2+
3+
This is an internal maintenance release.
4+
5+
Added missing `changed` action output to action.yml

0 commit comments

Comments
 (0)