In my yaml file i have code block
pipelines:
pull-requests:
dev:
- step:
name: Plan projects (dev)
script:
- export WORKSPACE=dev
- make plan
but pipeline won’t start.
With the provided YAML, the Pull Request will only trigger if the source branch of the Pull Request is named exactly "dev". If it is named "dev-ABC-123" or dev/ABC-123-Changes" it will not be triggered. If you want anything starting with "dev" to be triggered it should be changed with a wildcard to pick up anything that matches.
pipelines:
pull-requests:
dev*:
- step:
name: Plan projects (dev)
script:
- export WORKSPACE=dev
- make plan
The only change I made was adding an asterisk after dev.
Thank you for reaching out to the community.
Could you confirm if the commit or update is originating from the source branch of the existing pull request?
Regards,
Mark C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.