-
Notifications
You must be signed in to change notification settings - Fork 10
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
Run CI based on the check #297
Comments
Hi @Aarsh2001, thanks for raising this. Can you elaborate a little please, and give me an example of what you would like to be able to do? Thanks. |
Sure, so i want my workflow files to run if there is a label present in the PR. So ideally i would like to first check if it is present, if it's true then run the jobs else skip. Since, i was using In such a case, i wanted the Maybe i could create another workflow file which checks for labels, and then add the result of this as a dependency in other workflows? i don't know😅 |
That helps to clarify, thanks. A couple of initial questions/comments:
Feel free to come back if I've misunderstood! |
Thinking about it more, I guess your use case is to have something very similar to this repo's |
Yes, you got it right. Also that we can create one workflow which checks for labels, and make other workflows depend on it, this worked in my case. I used the |
Nice! Is your repo public? Please share the link to the commit when you've implemented this if so, will be v useful to have a working example I can reference in the |
Yes the repository is public, I'll share it after the implementation 🙂, also the code snippet! |
Can we run workflow files based on label checks?, if so, how?
The text was updated successfully, but these errors were encountered: