Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 856 Bytes

build.md

File metadata and controls

39 lines (31 loc) · 856 Bytes

Review changes to build files

Example rivi.yaml

rules:
    build:
      condition:
        files:
          patterns:
            - "gradle.*"
            - "wrapper/"
          extensions:
            - ".gradle"
      labeler:
        label: system/build
      autoassign:
        role: devops
        
roles:
    devops:
      - dev1
      - ops2
      - ops3

Note The label system/build must exists in the repository settings
Note The users dev1,ops2, and ops3 must have repository read permissions

Result

When a pull-request containing changes to the build system is opened:

Rivi will add the label system/build:

And assign (randomly) a member from the devops role to complete the review: