Replies: 4 comments 1 reply
-
It looks like I need some sort of default labels added that are specific to the runID and JobID. Seems like OSX and Arm64 are there... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
I'm building a golang app that listens for webhook events for jobs and, if certain labels are found, creates a macOS VM and registers it to the org level. So far it works.
However, because multiple jobs can be created with the same labels, suddenly we get one job picking up the VM intended for another.
I know I can add a label specific to the workflow with contextual information, but I've had customers beta testing this and saying that they don't want their users accidentally forgetting to add it to the labels or messing it up; basically that they want to keep the runs-on as light as possible.
Therefore, I'd like to try and find a way to add a label when I go to register the runner that is already enabled in the job without me having to define it under runs-on. Does this exist? I imagine it would look like
workflowID
or something and I would just register withworkflowID:${wID}
.I've got the following:
I hope there is something! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions