Skip to content

[feature request] match for some labels instead of every label in webhook #2122

@sblack4

Description

@sblack4
Contributor

Right now the github action has to match EVERY labelssee this function which means the github actions need to have all the labels as defined in runner_labels ("self-hosted,${var.runner_os},${var.runner_architecture},${var.runner_extra_labels}")

I would like to have the webhook function match if some of the labels are present.

Ideally, there would be a variable I could pass in to change the behavior to accommodate both use cases. Right now I achieve the same effect by manually updating the RUNNER_LABELS Environment Variable on the webhook lamda.

:D

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @sblack4@lmeynberg

      Issue actions

        [feature request] match for some labels instead of every label in webhook · Issue #2122 · github-aws-runners/terraform-aws-github-runner