openshift-pipelines / manual-approval-gate

OpenShift Pipelines manual approval custom task
Apache License 2.0
1 stars 7 forks source link

Add tkn approvaltask 😻 #141

Closed PuneetPunamiya closed 1 month ago

PuneetPunamiya commented 2 months ago

This patch bootstraps CLI and adds implementation of List Command

tkn approvaltask list
tkn at ls

Output

NAME   NumberOfApprovalsRequired   PendingApprovals   Rejected   STATUS
cr-1   2                           2                  0          Pending
cr-2   2                           0                  1          Rejected
cr-3   2                           0                  0          Approved
PuneetPunamiya commented 2 months ago

/hold

openshift-ci[bot] commented 2 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: PuneetPunamiya

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/openshift-pipelines/manual-approval-gate/blob/main/OWNERS)~~ [PuneetPunamiya] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
PuneetPunamiya commented 1 month ago

/hold cancel

piyush-garg commented 1 month ago

/lgtm