api-preview-docs icon indicating copy to clipboard operation
api-preview-docs copied to clipboard

Trigger workflow in different repo with same user

Open activist opened this issue 6 years ago • 1 comments
trafficstars

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?

activist avatar Nov 08 '19 11:11 activist

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.

sulami avatar Nov 08 '19 22:11 sulami