Skip to content

Commit

Permalink
repokitteh: add backport labeling (envoyproxy#9906)
Browse files Browse the repository at this point in the history
Signed-off-by: Itay Donanhirsh <[email protected]>
  • Loading branch information
itayd authored Feb 3, 2020
1 parent abb1f96 commit b495c36
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions repokitteh.star
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ use(
)

alias('retest', 'retry-circle')

def _backport():
github.issue_label('backport/review')

handlers.command(name='backport', func=_backport)
10 changes: 9 additions & 1 deletion source/docs/repokitteh.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,19 @@ Restarts all failed CircleCI tests, as reported in the commit statuses.

[Demo PR](https://github.com/envoyproxy/envoy/pull/5060#issuecomment-439285928)

### [Granular Ownerscheck] (https://github.com/repokitteh/modules/blob/master/ownerscheck.star)
### [Granular Ownerscheck](https://github.com/repokitteh/modules/blob/master/ownerscheck.star)

Two types of approvals:
1. Global approvals, done by approving the PR using Github's review approval feature.
2. Partial approval, done by commenting "/lgtm [label]" where label is the label
associated with the path. This does not affect GitHub's PR approve status, only
this module's maintained commit status. This approval is automatically revoked
if any further changes are done to the relevant files in this spec.

#### Backport labeling

```
/backport
```

will labels the PR commented on with `backport/review`.

0 comments on commit b495c36

Please sign in to comment.