api-preview-docs
api-preview-docs copied to clipboard
Trigger workflow in different repo with same user
First I would like to say that I really like the new API for pipelines.
A feature I really would like is to be able to from a workflow/job A trigger a workflow B in a different repo using the same user as in workflow A. The first is possible now, but the automatic feedback is somewhat lost since the executing user on workflow B is different than on workflow A.
Does this make sense?
So you would like to trigger another pipeline from a pipeline while preserving the user?
Possible solutions I can think of right now: we could expose a way to get the API token used in a similar way to how secrets work, or add some way of running automatically authenticated API requests, or give you a direct way of triggering another pipeline without using the API.
@ndintenfass probably has opinions on this.