Skip to content

Enhance BuildKite setup to watch out for PR labels that enable "skip build" resp. "skip ci" or similar #12661

@fingolfin

Description

@fingolfin

Request from Slack discussion:

It would be great if our BuildKite integration was able to monitor PR labels. (Supposedly this can be done via https://buildkite.com/resources/plugins/sv-oss/github-pr-labels-buildkite-plugin/ but I know nothing about BuildKite set up and merely googled this).

With that in hand, someone could then define labels which do something similar to the [skip ci] and [skip build] markers used in commit messages, but more convenient.

  1. One label could suppress all builds on the PR. Having this as a label would make it more transparent (you don't need to look at commit messages); it would avoid accidents were one forget to put the [skip build] marker on all commits (including merge commits); and labels can have longer description text which explain the behavior
  2. another label could suppress generation of package updates (similar to [skip ci]).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions