Skip to content

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

Closed

Description

@sblack4

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

  1. sblack4 commented on Jun 8, 2022

    @sblack4
    ContributorAuthor
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

      Development

      No branches or pull requests

      Issue actions