Test automations
5 files+23−00/5 viewed
| 1 | + | on: issue.exploded | |
| 2 | + | do: [assign_agent] |
| 1 | + | name: Label on every update | |
| 2 | + | on: [issue.updated, issue.opened] | |
| 3 | + | if: | |
| 4 | + | labels: automation-test | |
| 5 | + | do: | |
| 6 | + | - label: touched | |
| 7 | + | - comment: "Touched by {{automation}} after {{event}}." |
| 1 | + | on: manual | |
| 2 | + | do: | |
| 3 | + | - comment: "Run by hand on #{{number}} ({{title}})." |
| 1 | + | name: Triage test issues | |
| 2 | + | on: issue.opened | |
| 3 | + | if: | |
| 4 | + | labels: automation-test | |
| 5 | + | do: | |
| 6 | + | - comment: "Thanks, {{actor}}. This automation saw #{{number}} ({{title}}) and labelled it." | |
| 7 | + | - label: triaged | |
| 8 | + | - notify: | |
| 9 | + | url: https://httpbin.org/post | |
| 10 | + | text: "{{repo}}#{{number}} was triaged: {{url}}" |
| 1 | + | # automation lab |