add a link to a port run
complete
J
Julien Carsique
It would be very useful being able to add a link to a port run.
- uses: port-labs/port-github-action@v1
with:
clientId: ...
clientSecret: ...
operation: PATCH_RUN
runId: ...
link: ... # <- this will overwrite the existing links
It is a known limitation in the API according to https://docs.getport.io/create-self-service-experiences/reflect-action-progress/#run-details :
> Note that every patch request will override the previous information that was available for a given key. For example, when updating the link key multiple times, only the last provided value will be displayed in the action run.
This is painful in a pipeline for each step which needs to add a new link, without removing the other links, then is required to maintain the whole list.
Can you add an option or parameter for adding a link instead of overwriting?
Matan Grady
complete
https://docs.getport.io/api-reference/patch-an-action-run