jdalrymple / gitbeaker

🦊🧪 A comprehensive and typed Gitlab SDK for Node.js, Browsers, Deno and CLI
Other
1.5k stars 283 forks source link

Missing a method to set 'job_token_scope'? #3564

Closed ForbiddenEra closed 2 months ago

ForbiddenEra commented 3 months ago

Description

In order for pipelines to be able to trigger other pipelines (downstream or 'multi-project pipelines'), the triggered project needs the parent project set in it's 'job_token_scope' or to have the feature disabled.

https://archives.docs.gitlab.com/16.4/ee/api/project_job_token_scopes.html

I searched for job_token_scope in the sources and API docs but it was only found in one place, related to an actual job itself.

Proposal

Add the missing API calls. :-)

Checklist

ForbiddenEra commented 2 months ago

<3