pin("github.com/repokitteh/modules", "4ee2ed0c3622aad7fcddc04cb5dc866e44a541e6") use("github.com/repokitteh/modules/assign.star") use("github.com/repokitteh/modules/review.star") use("github.com/repokitteh/modules/wait.star") use("github.com/envoyproxy/envoy/ci/repokitteh/modules/azure_pipelines.star", secret_token=get_secret('azp_token')) use("github.com/envoyproxy/envoy/ci/repokitteh/modules/newcontributor.star") use( "github.com/envoyproxy/envoy/ci/repokitteh/modules/ownerscheck.star", paths=[ { "owner": "envoyproxy/api-shepherds!", "path": "(api/envoy[\w/]*/(v1alpha\d?|v1|v2alpha\d?|v2))|(api/envoy/type/(matcher/)?\w+.proto)", "label": "v2-freeze", "allow_global_approval": False, "github_status_label": "v2 freeze violations", }, { "owner": "envoyproxy/api-shepherds!", "path": "api/envoy/", "label": "api", "github_status_label": "any API change", "auto_assign": True, }, { "owner": "envoyproxy/api-watchers", "path": "api/envoy/", }, { "owner": "envoyproxy/dependency-shepherds!", "path": "(bazel/.*repos.*\.bzl)|(bazel/dependency_imports\.bzl)|(api/bazel/.*\.bzl)|(.*/requirements\.txt)|(.*\.patch)", "label": "deps", "allow_global_approval": False, "github_status_label": "any dependency change", }, ], ) alias('retest', 'retry-azp') def _backport(): github.issue_label('backport/review') handlers.command(name='backport', func=_backport)