otterdog icon indicating copy to clipboard operation
otterdog copied to clipboard

Support workflow execution from forks of outside collaborators

Open netomi opened this issue 1 year ago • 3 comments

Currently there is no way to specify the approval for running workflows of pull requests from outside collaborators.

There is no api available and it can only be modified via the Web UI. However, this is a setting that is security relevant and we should investigate how we can support that at least on organization level so that you could enforce that any PR from an outside collaborator needs approval before workflows are allowed to run.

netomi avatar Mar 21 '24 09:03 netomi

note that there is an gh-enterprise wide settings for that

mbarbero avatar Mar 21 '24 10:03 mbarbero

we should discuss if we force on enterprise level that workflows always require approval for any external contributor.

If a user provides PRs on a regular basis, he / she should be added as contributor to the project or elected as committer imho.

netomi avatar Nov 14 '24 21:11 netomi

I agree. We would need to extensively communicate about the change though and explain how regular external contributors can be invited to the GH org via PMI.

mbarbero avatar Nov 15 '24 08:11 mbarbero