Automation: Label pull requests based on author org (#32547)

Should add the label pr/external to pull requests for authors not member 
of the Grafana org.
Making use of grafana/grafana-github-actions#20
This commit is contained in:
Marcus Efraimsson
2021-03-31 14:54:49 +02:00
committed by GitHub
parent 433f6b91d0
commit be0c29a46c

View File

@@ -171,5 +171,12 @@
"matches": ["public/app/features/variables/**/*", "public/app/features/templating/**/*"],
"action": "updateLabel",
"addLabel": "area/dashboard/templating"
},
{
"type": "author",
"name": "pr/external",
"notMemberOf": { "org": "grafana" },
"action": "updateLabel",
"addLabel": "pr/external"
}
]