Skip to content

Commit

Permalink
fixed the synchronize filter
Browse files Browse the repository at this point in the history
  • Loading branch information
sadasant committed Mar 5, 2019
1 parent f2d6f94 commit 58b3294
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion gh/content.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 58b3294

Please sign in to comment.