From 58b32949830bbfc6e9f120713163ec98ce11cda3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez?= Date: Tue, 5 Mar 2019 06:29:41 +0000 Subject: [PATCH] fixed the synchronize filter --- CHANGELOG.md | 2 +- README.md | 2 +- gh/content.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc8c4af..1c9646c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ * `fmt-check.bash`: Runs `go fmt -l .` in all the submodules of this repo. If it finds files that don't have the proper formatting, it will exit with status code 1. We use this one for CI purposes -* Muted `synchronized` actions (specifically for PullRequestEvents). +* Muted `synchronize` actions (specifically for PullRequestEvents). * Made sure both CircleCI and Zeit worked fine with this new file structure. diff --git a/README.md b/README.md index d52109c..8242707 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Some of the events are filtered. In detail: - `status` if they have state equal to `pending`. - Any other event if they have an action property assigned to `labeled`, `unlabeled`, `assigned`, `unassigned`, - `review_requested`, `review_request_removed` or `edited`. + `review_requested`, `review_request_removed`, `edited` or `synchronize` ## How to build diff --git a/gh/content.go b/gh/content.go index 8899e5f..7853263 100644 --- a/gh/content.go +++ b/gh/content.go @@ -32,7 +32,7 @@ func (c Content) NotAllowed() error { "review_requested", "review_request_removed", "edited", - "synchronized": + "synchronize": return fmt.Errorf("gh: not allowed action, %s", c.Action) }