github.com/zhuohuang-hust/src-cbuild@v0.0.0-20230105071821-c7aab3e7c840/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/runtime: [ "oci runtime error" ], 28 area/security/trust: [ "docker_content_trust" ], 29 area/swarm: [ "docker node", "docker service", "docker swarm" ], 30 platform/desktop: [ "docker for mac", "docker for windows" ], 31 platform/freebsd: [ "freebsd" ], 32 platform/windows: [ "nanoserver", "windowsservercore", "windows server" ], 33 } 34 } 35 - type: version-label 36 37 # When a pull request is closed, attach it to the currently active milestone. 38 - triggers: 39 pull_request: [ closed ] 40 operations: 41 - type: version-milestone 42 43 # Labeling a PR with `rebuild/<configuration>` triggers a rebuild job for the associated 44 # configuration. The label is automatically removed after the rebuild is initiated. There's no such 45 # thing as "templating" in this configuration, so we need one operation for each type of 46 # configuration that can be triggered. 47 - triggers: 48 pull_request: [ labeled ] 49 operations: 50 - type: rebuild 51 settings: { 52 # When configurations are empty, the `rebuild` operation rebuilds all the currently 53 # known statuses for that pull request. 54 configurations: [], 55 label: "rebuild/*", 56 } 57 - type: rebuild 58 settings: { 59 configurations: [ arm ], 60 label: "rebuild/arm", 61 } 62 - type: rebuild 63 settings: { 64 configurations: [ experimental ], 65 label: "rebuild/experimental", 66 } 67 - type: rebuild 68 settings: { 69 configurations: [ janky ], 70 label: "rebuild/janky", 71 } 72 - type: rebuild 73 settings: { 74 configurations: [ userns ], 75 label: "rebuild/userns", 76 } 77 - type: rebuild 78 settings: { 79 configurations: [ vendor ], 80 label: "rebuild/vendor", 81 } 82 - type: rebuild 83 settings: { 84 configurations: [ win2lin ], 85 label: "rebuild/win2lin", 86 } 87 - type: rebuild 88 settings: { 89 configurations: [ windowsRS1 ], 90 label: "rebuild/windowsRS1", 91 }