github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/cli/poule.yml (about)

     1  # Add a "status/0-triage" to every newly opened pull request.
     2  - triggers:
     3        pull_request: [ opened ]
     4    operations:
     5        - type:       label
     6          filters: {
     7              ~labels: [ "status/0-triage", "status/1-design-review", "status/2-code-review", "status/3-docs-review", "status/4-merge" ],
     8          }
     9          settings: {
    10              patterns: {
    11                  status/0-triage:     [ ".*" ],
    12              }
    13          }
    14  
    15  # For every newly created or modified issue, assign label based on matching regexp using the `label`
    16  # operation, as well as an Engine-specific version label using `version-label`.
    17  - triggers:
    18        issues:       [ edited, opened, reopened ]
    19    operations:
    20        - type:       label
    21          settings: {
    22              patterns: {
    23                  area/builder:        [ "dockerfile", "docker build" ],
    24                  area/distribution:   [ "docker login", "docker logout", "docker pull", "docker push", "docker search" ],
    25                  area/plugins:        [ "docker plugin" ],
    26                  area/networking:     [ "docker network", "ipvs", "vxlan" ],
    27                  area/swarm:          [ "docker node", "docker swarm", "docker service create", "docker service inspect", "docker service logs", "docker service ls", "docker service ps", "docker service rm", "docker service scale", "docker service update" ],
    28                  platform/desktop:    [ "docker for mac", "docker for windows" ],
    29                  platform/freebsd:    [ "freebsd" ],
    30                  platform/windows:    [ "nanoserver", "windowsservercore", "windows server" ],
    31                  platform/arm:        [ "raspberry", "raspbian", "rpi", "beaglebone", "pine64" ],
    32              }
    33          }
    34        - type:       version-label
    35  
    36  # When a pull request is closed, attach it to the currently active milestone.
    37  - triggers:
    38        pull_request: [ closed ]
    39    operations:
    40        - type:       version-milestone
    41