Skip to content

Commit 223974f

Browse files
committed
feat: add sort-label-keys
Signed-off-by: kj455 <[email protected]>
1 parent 33744ed commit 223974f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,6 @@ jobs:
6666
| address | The API address of PipeCD's control-plane. | yes | |
6767
| api-key | The API key with READ_WRITE role used by pipectl while communicating with PipeCD's control-plane. | yes | |
6868
| token | The GITHUB_TOKEN secret. | yes | |
69+
| timeout | Maximum amount of time to run. | no | 5m |
70+
| piped-handle-timeout | Maximum amount of time to wait for piped handle the plan preview. | no | 5m |
71+
| sort-label-keys | The application label keys to sort the results by. | no | "" |

action.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ inputs:
2020
description: 'Maximum amount of time to wait for piped handle the plan preview. Default is 5m.'
2121
required: false
2222
default: 5m
23+
sort-label-keys:
24+
description: 'The application label keys to sort the results by. If not specified, the results will be sorted by only PipedID and ApplicationName.'
25+
required: false
26+
default: ''
2327

2428
runs:
2529
using: 'docker'
@@ -30,6 +34,7 @@ runs:
3034
- token=${{ inputs.token }}
3135
- timeout=${{ inputs.timeout }}
3236
- piped-handle-timeout=${{ inputs.piped-handle-timeout }}
37+
- sort-label-keys=${{ inputs.sort-label-keys }}
3338

3439
branding:
3540
icon: 'eye'

0 commit comments

Comments
 (0)