Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(webhook): logic to find the workflow labels inside runner config supported labelsets. #3278

Merged
merged 5 commits into from
May 23, 2023

Conversation

GuptaNavdeep1983
Copy link
Contributor

@GuptaNavdeep1983 GuptaNavdeep1983 commented May 17, 2023

Problem:

With current implementation:
runner-config-1:
labelsets: [['self-hosted', 'x64', 'linux'], ['self-hosted', 'x64', 'on-demand']]

is accepted for workflow job with labels ['self-hosted', 'linux', 'x64', 'on-demand']

Solution:

runner-config-1:
labelsets: [['self-hosted', 'x64', 'linux'], ['self-hosted', 'x64', 'on-demand']]

should be accepted for workflow job with labels ['self-hosted', 'x64', 'on-demand']

@GuptaNavdeep1983 GuptaNavdeep1983 requested a review from npalm May 17, 2023 19:14
@npalm npalm changed the title fix: fixed the logic to find the workflow labels inside runner config supported labelsets. fix(webhook): logic to find the workflow labels inside runner config supported labelsets. May 23, 2023
@GuptaNavdeep1983 GuptaNavdeep1983 merged commit 9fcf33a into main May 23, 2023
@GuptaNavdeep1983 GuptaNavdeep1983 deleted the nav/fix-webhook-matching-labels branch May 23, 2023 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants