Skip to content

Commit

Permalink
Update repokitteh sha to bring in improved ownerscheck (envoyproxy#9295)
Browse files Browse the repository at this point in the history
Brings in repokitteh/modules#22.
Also pins modules in a more easier to read way globally for the modules repository.

Risk Level:
None for production.

Testing:
In a separate PR (envoyproxy#9294 -> repokitteh/modules@4ee2ed0).

Signed-off-by: Itay Donanhirsh <[email protected]>
  • Loading branch information
itayd authored and htuch committed Dec 16, 2019
1 parent 3d252f8 commit 46fc47b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
12 changes: 7 additions & 5 deletions repokitteh.star
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
use("github.com/repokitteh/modules/assign.star#22520d03464dd9503e036c7fa365c427723c4aaf")
use("github.com/repokitteh/modules/review.star#22520d03464dd9503e036c7fa365c427723c4aaf")
use("github.com/repokitteh/modules/wait.star#22520d03464dd9503e036c7fa365c427723c4aaf")
use("github.com/repokitteh/modules/circleci.star#22520d03464dd9503e036c7fa365c427723c4aaf", secret_token=get_secret('circle_token'))
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/repokitteh/modules/circleci.star", secret_token=get_secret('circle_token'))
use(
"github.com/repokitteh/modules/ownerscheck.star#22520d03464dd9503e036c7fa365c427723c4aaf",
"github.com/repokitteh/modules/ownerscheck.star",
paths=[
{
"owner": "envoyproxy/api-shepherds!",
Expand Down
9 changes: 9 additions & 0 deletions source/docs/repokitteh.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,12 @@ Example:
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)

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.

0 comments on commit 46fc47b

Please sign in to comment.