Skip to content

Commit

Permalink
Merge pull request #19 from kj455/feat/sort-label-keys
Browse files Browse the repository at this point in the history
Add `sort-label-keys`
  • Loading branch information
t-kikuc authored Feb 17, 2025
2 parents 2078001 + 223974f commit 8f72633
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@ jobs:
| address | The API address of PipeCD's control-plane. | yes | |
| api-key | The API key with READ_WRITE role used by pipectl while communicating with PipeCD's control-plane. | yes | |
| token | The GITHUB_TOKEN secret. | yes | |
| timeout | Maximum amount of time to run. | no | 5m |
| piped-handle-timeout | Maximum amount of time to wait for piped handle the plan preview. | no | 5m |
| sort-label-keys | The application label keys to sort the results by. | no | "" |
5 changes: 5 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ inputs:
description: 'Maximum amount of time to wait for piped handle the plan preview. Default is 5m.'
required: false
default: 5m
sort-label-keys:
description: 'The application label keys to sort the results by. If not specified, the results will be sorted by only PipedID and ApplicationName.'
required: false
default: ''

runs:
using: 'docker'
Expand All @@ -30,6 +34,7 @@ runs:
- token=${{ inputs.token }}
- timeout=${{ inputs.timeout }}
- piped-handle-timeout=${{ inputs.piped-handle-timeout }}
- sort-label-keys=${{ inputs.sort-label-keys }}

branding:
icon: 'eye'
Expand Down

0 comments on commit 8f72633

Please sign in to comment.