How to run the jobs of multiple rules

  1. modify outside openapi yaml file
    if the changes is outside of the specific file
  • openapi/**/*.yaml
  • components/**/*.yaml
    all jobs will run specially this stages pre-build , build and deploy
  1. modify inside openapi yaml file
    this scenario the job is not running specially the stages pre-build, buid and deploy
  2. modify both inside and outside openapi yaml file
    this scenarios will run all the stages if both have changes inside or outside

please help me.

Hi,
you might wanna look at rules:changes and rules:changes:path.

If you could provide your current YAML configuration, I would be happy to help you further.

1 Like