generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Is your feature request related to a problem? Please describe.
Currently, this GitHub Action doesn't provide a way to capture command outputs as GitHub outputs or variables for use in subsequent workflow steps.
- name: List ArgoCD applications
uses: clowdhaus/argo-cd-action/@main
with:
command: app list
options: -l ${{ env.label }} -o name --grpc-web --auth-token ${{ inputs.argocd_token }} --server ${{ inputs.argocd_server }}
The output from this command is only printed to the workflow logs but cannot be captured for use in subsequent steps.
Describe the solution you'd like
Enhance the action to capture the output of ArgoCD CLI commands(like app list) and expose them as:
- GitHub action outputs
- Environment variables
- Step outputs that can be referenced in subsequent steps
Describe alternatives you've considered
Install the argocd CLI and execute the command in a bash/shell step and get the output.
Use Cases
- Dynamically process the list of applications in subsequent workflow steps
- Make conditional decisions based on application states
- Generate reports or notifications with application data
- Chain multiple ArgoCD operations based on previous command results
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels