-
Notifications
You must be signed in to change notification settings - Fork 541
Closed
Labels
effort/smallThis issue will take less than a day of effort to fixThis issue will take less than a day of effort to fixfeature-requestA feature should be added or improved.A feature should be added or improved.in-progressThis issue is being actively worked onThis issue is being actively worked onp2
Description
Describe the feature
I have several reusable actions which need AWS credentials to already be configured. I'd like for those actions to be able to invoke configure-aws-credentials but to only fetch credentials if they haven't already been fetched. I can imagine enabling this via a new config option but I'm not attached to any particular method—I just want to avoid fetching the same credentials twice.
Use Case
I have multiple reusable actions and multiple workflows, for example:
- workflow-1 invokes action-1
- workflow-2 invokes action-2
- action-2 invokes action-1
- workflow-3 MAY invoke neither/either/both action-1 and action-3
I want each of these actions to be able to ensure credentials are fetched without duplicating work that may've already been done.
Proposed Solution
Possibly a new mode of execution, configurable as an action input, which tracks/detects whether credentials have already been fetched and short-circuits.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
lauzadis
Metadata
Metadata
Assignees
Labels
effort/smallThis issue will take less than a day of effort to fixThis issue will take less than a day of effort to fixfeature-requestA feature should be added or improved.A feature should be added or improved.in-progressThis issue is being actively worked onThis issue is being actively worked onp2