Skip to content

Finer-grained of workflow runs, between 'anyone but first-time contributors' and 'only committers' #256

@holly-cummins

Description

@holly-cummins

At the moment GitHub only has two options for which PRs will be automatically run on a repository's actions without a manual approval: everyone but first time contributors, or only contributors.
This means if someone has a trivial PR accepted, they can run malicious PRs. This is non-ideal on git-hosted runners, and a serious concern on self-hosted runners.

Scrolling down to "Public Repository Warning" in https://www.ideasawakened.com/post/radauthenticator-part-4-build-automation-with-delphi-and-github-by-installing-a-self-hosted-runner has a good discussion of the issue.

Requiring manual approval of runs from everyone but committers will be too onerous, but the bot could apply rules to pre-handle all but ambiguous cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions