Skip to content
Discussion options

You must be logged in to vote

Our use case is to re-use the same workflow that we are using with when conditions also in a scheduled build.

At the moment we found this solution:

    triggering:
      events:
        - pull_request_labeled
    when:
      condition: event.pull_request == null or event.pull_request.labels[0].name == "Build"

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@marcocaldera
Comment options

Answer selected by himesh-cm
@himesh-cm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants